
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. That alone is a fairly simple item to create in Flash. But, what if you need to determine how much of the image has been uncovered? Taking that further, what if your images vary, and you need to set up your application to display a success screen if, say, 60% of one image has been uncovered by the user, but you need to determine if 80% of another image has been uncovered?
I started throwing this tutorial together and realized how complex it was becoming as I tried to explain everything in my real world example. I took a step back and am starting with the core of how all this works. I hope the following makes sense, I’m still learning how to explain complex examples in writing.
Read More


Dynamic Mask And Image Comparison Part 2
Dynamic Mask Source Files (365)
This is part 2 of a example regarding image comparison, view part 1 here.
GOAL
GOAL REQUIREMENTS
TECHNIQUE