I'm not quite sure I understand the issue. I will note that "loading" is typically asynchronous and the bitmap data may not be available until the frame after the COMPLETE event.
If that isn't the issue, please try re-summarizing the problem again. -Alex On 8/26/16, 7:27 AM, "CodeGirl" <[email protected]> wrote: >Let me revise my statement. > >I created a Panel Class which contained all my images as Embed and then >created a static getImage function > >But even with the Embed statement in a separate class gets the same >error. >Evidently, the Embed only works if its in the same glass as the setTexture >function. > >Okay, what is happening and why and what do you suggest as a solution? > > > >-- >View this message in context: >http://apache-flex-users.2333346.n4.nabble.com/Loading-JPG-bitmapdata-Some >thing-like-Embed-but-at-runtime-tp13402p13405.html >Sent from the Apache Flex Users mailing list archive at Nabble.com.
