Hello, So I have a movieClip in the library that is set to Export as a class with the Auto Create Class feature, with the name "rotate_sphere". rotate_sphere basically contains a .png that I would like to copy as bitmapData to a new bitmap Object so that I can take advantage of the smoothing parameter on 'New Bitmap(bitmapData,snapping,SMOOTHING)'. Because this object needs to scale and I would like to keep it looking "smooth" with keeping the edges anti aliased. I am getting a Type Coercion error which reads: cannot convert rotate_sphere$ to flash.display.DisplayObject when I am trying to get the bitmapData.
I figured that any class instantiated from the library at least extends type DisplayObject since whenever I instantiate a class from the library I can add it as a child, which requires the obj at least extend DisplayObject. Im not sure if Im even going about this right way. Any thoughts or comments would be awesome! and thanks for your time to at least read through this! -Dave Geurts _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com