Re: [flexcoders] Re: BitmapData from asset embedded in external stylesheet swf

2012-05-14 Thread Alex Harui
Hey, your changing your story. First it was embedded PNGs and now it is SWF assets. SWF assets do not have to be Bitmaps. They could be Sprites, MovieClips, etc. I’m surprised that ObjectUtil.toString only showed one line of output. Or did the forum software cut it off? Maybe try describeT

Re: [flexcoders] Re: BitmapData from asset embedded in external stylesheet swf

2012-05-14 Thread Alex Harui
Run ObjectUtil.toString() on the results of getStyle(“testPng”). That might shed some light on what it is. It might already be the instance of a Bitmap instead of the class itself. Also, what CSS did you use to embed? On 5/14/12 9:16 AM, "flexwdw" wrote: Hey Alex, Two things work: 1

Re: [flexcoders] Re: BitmapData from asset embedded in external stylesheet swf

2012-05-14 Thread Alex Harui
What code works when it is in the “code swf”? On 5/11/12 8:43 PM, "flexwdw" wrote: I should add -- this all works with an image embedded in the code swf...it's just when I try to do the same thing from the external swf it doesn't work. I can use the asset as a cursor just fine, so I kno