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.
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!
http://livedocs.macromedia.com/flash/8/main/00001955.html
hope helps!
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment