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.

just start obvious: did import bitmapdata class, initialize bitmapdata object, attach mc it, etc? see live docs code check own against:

http://livedocs.macromedia.com/flash/8/main/00001955.html

hope helps!


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