color picker


i trying find color of pixel. pixel @ point (200,200) @ level0...

mypixelcolor = _root.getpixel.color(200,200).tostring(16);
trace(mypixelcolor);

i have tried...

mypixelcolor = _root.getpixel(200,200).tostring(16);
trace(mypixelcolor);

but both return undefined... have ideas???

thanks responders.

getpixel() bitmap method. create bitmap , use draw method (with add blendmode) "add" objects on-stage @ 200,200 onto bitmap , use getpixel() method.


More discussions in ActionScript 1 and 2


adobe

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support