Categories
-
Recent Posts
-
RSS
Category Archives: Flash
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. [...]
Also posted in AS3 Tagged ActionScript, 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 [...]
Also posted in AS3 Tagged ActionScript, actionscript snippet, compression, optimization, snippet, XML 4 Comments
Sketches and Math
I am a visual learner. This fact has made it challenging for me, and other designers, to pick up development whether it be ActionScript, JavaScript, CSS, or any language or mark up that results in a visual interactive interface. This right brain mentality is arguably why so many graphic and web designers stopped adopting ActionScript [...]
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 [...]
Also posted in AS3 Tagged ActionScript, 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", "swf20842", "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 [...]
Also posted in AS3 Tagged ActionScript, 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", "swf20844", "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 [...]
Also posted in AS3 Tagged ActionScript, AS3, 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", "swf20845", "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 [...]
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", "swf20846", "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 [...]
Dynamic Mask And Image Comparison Part 2