I’ve noticed that this question pops up from time to time on forums, and it’s very straight-forward to do; we can use the draw() method of BitmapData to copy any visual element (in this case, the stage itself) into a BitmapData object. Then we can use the getPixel() method to extract the colour.
|
|
Scooped by
Nicolas Bousquet
onto Everything about Flash June 10, 2011 4:39 AM
|
No comment yet.
Sign up to comment
Your new post is loading...