Tag Archives: BitmapData

Dynamic Mask And Image Comparison Part 2

This movie requires Flash Player 10 swfobject.embedSWF("/blog/wp-content/uploads/2011/01/DynamicMask.swf", "swf56a31", "505", "500", "10.0.0", "", {}, {wmode: "window", menu: "false", quality: "high", bgcolor: "#000000"}, {}); This is part 2 of a example regarding image comparison, view part 1 here. GOAL Allow a user to click-and-drag to reveal a hidden image by painting a mask. Predetermine the shape of the image the user is [...]
Posted in AS3, Flash | Also tagged , , , , , , , , , | 1 Comment

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 , , , , | 1 Comment

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 , , , , , | 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", "swf56a32", "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 , , , , , , , | 6 Comments

Adding Graphics Within A Predefined Unique Boundary

I came across a forum post of someone attempting to add graphics within, and only within a uniquely shaped boundary. There are numerous ways to achieve this visual effect in flash. One, you could add items to a shape and use a blending mode to allow only those shapes that appear over the parent object [...]
Posted in AS3, Flash | Also tagged , , | 3 Comments