Categories
-
Recent Posts
-
RSS
Tag Archives: ActionScript
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 AS3, BitmapData, BitmapData.histogram, histogram, image comparison 1 Comment
XML “Compression” Tip
Maybe this is more common than I realize; I’m working on a Web project where the initial XML file is 420kb in size—that’s just way too big. I searched for various XML compression utilities, but a few seemed overcomplicated and many of the utilities don’t work on a Mac. In the past, I’ve imported PNG [...]
Posted in AS3, Flash Also tagged actionscript snippet, compression, optimization, snippet, XML 4 Comments
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 AS3, 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 AS3, 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", "swf374b2", "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 animation, AS3, 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", "swf374b4", "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 AS3, depth, mouse motion, mouse movement, pan, panning, parallax 24 Comments
Dynamic Mask And Image Comparison Part 2