Categories
-
Recent Posts
-
RSS
Tag Archives: AS3
Dynamic Mask And Image Comparison Part 1
This is Part 1 of a tutorial/example regarding image comparison. To be more specific, we’ll be determining the differences in channel data using BitmapData.histogram();
In Part 2, you’ll see the end result which is: A user can click-and-drag to dynamically ‘paint’ a mask over an image. As the user paints, more of that hidden image appears. [...]
Posted in AS3, Flash Also tagged ActionScript, BitmapData, BitmapData.histogram, histogram, image comparison 1 Comment
The Year of the Kiosk
I’m officially declaring this the year of the kiosks. I just finished a couple touchscreen kiosk projects with the amazingly talented, creative and friendly team at Second Story Interactive Studios. I am also working with a new client on six other touchscreen kiosks due early next year.
The Second Story project consists of three kiosks—they architected [...]
Posted in Industry, Projects Also tagged ActionScript, Flash kiosk, Flash touchscreen, kiosk, touch screen, touchscreen 6 Comments
Generative Visuals
In the last few months I’ve played with creating a number of generative visuals or generative visual interactives. This entails building a Flash application that contains a number of randomized visual creations but also allows me to have control over color, composition, and some drawing aspects. I’ve spread a few of these visuals around and [...]
Posted in AS3, Flash Also tagged ActionScript, BitmapData, BitmapFilter, Generative Art, particles, pixels 4 Comments
Salt & Pepper Utilizing BitmapData.fillRect();
This movie requires Flash Player 10
swfobject.embedSWF("/blog/wp-content/uploads/2010/01/bitmapData_fillRect_animation.swf", "swf875b2", "500", "448", "10.0.0", "", {}, {wmode: "window", menu: "false", quality: "high", bgcolor: "#000000"}, {});
I’ve had some time to experiment more with BitmapData and specifically the fillRect(); method. I hope to utilize some of this soon when creating a new site for myself. Below is another example showing how [...]
Posted in AS3, Flash Also tagged ActionScript, animation, BitmapData, BitmapData.fillRect, fillRect, particles, pixel, pixels 6 Comments
Simple AS3 Parallax System Engine
This movie requires Flash Player 10
swfobject.embedSWF("http://www.lextalkington.com/blog/wp-content/uploads/2009/12/parallax.swf", "swf875b4", "500", "570", "10.0.0", "", {}, {wmode: "window", menu: "false", quality: "high", bgcolor: "#000000"}, {});
A recent project required me to set up a parallax system, of which I’ve done a hundred times probably, starting with AS1. However, I’d never built a class to handle this rather simple functionality. With [...]
Posted in AS3, Flash Also tagged ActionScript, depth, mouse motion, mouse movement, pan, panning, parallax 24 Comments
Generate Points Around a Circle’s Circumference
This movie requires Flash Player 10
swfobject.embedSWF("/blog/wp-content/uploads/2009/12/CircumferencePointGenerator.swf", "swf875b5", "500", "500", "10.0.0", "", {}, {wmode: "window", menu: "false", quality: "high", bgcolor: "#000000"}, {});
This is a simple Class, yet comes in handy for many projects. I’ve added a few extra parameters beyond only placing x amount of points around the circumference of a circle. This is a static [...]
Posted in AS3, Flash Also tagged ActionScript 3, circumference, distribute, points, radius 7 Comments
Auto Pan Class For Panning An Image On Mouse Movement
This movie requires Flash Player 10
swfobject.embedSWF("/blog/wp-content/uploads/2009/08/AutoPan1.swf", "swf875b6", "540", "540", "10.0.0", "", {}, {wmode: "window", menu: "false", quality: "high", bgcolor: "#000000"}, {});
I created an AS2 version of this years ago, and shared it on kirupa.com. It was a very popular small class. So, I’ve rebuilt the class in AS3. I hope some people find it useful. [...]
Listening To Web Traffic
Traffic, in the traditional sense, is annoying. I live on a somewhat busy street, outside my office window it is the same monotonous motoring sound all day. This annoyance gave me an idea: I’m playing with my new interest in the Google Analytics export data API and trying to get Flash to respond to the [...]
A Positive Spin On Sparse Web Traffic
Bear with me on this…. I came across this CNN article discussing how much CO2 is emitted when browsing the Web. Their study places CO2 generation at 20 milligrams per second spent on the Web. This had me interested is how much CO2 I indirectly generate based on site visitors and how much time they [...]
Dynamic Mask And Image Comparison Part 2