[Flashcoders] AS 3.0 - Typecast a new Obj instantiated from a library linked class to a 'displayObject'

2007-02-23 Thread Dave Geurts
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

Re: [Flashcoders] AS 3.0 - Typecast a new Obj instantiated from a library linked class to a 'displayObject'

2007-02-23 Thread Rob Romanek
Hi Dave, I'm not sure you need to be accessing your bitmap via a movieClip. I'm doing something similar but I use the bitmap directly from the library. I se the bitmap up an auto generated class using 'Linkage' i.e. 'myBitmap' then if I need the bitmapData in yourscript simply say: var