[osflash] Incredibly annoying and maddeningly simple task: get embedded bitmap

Alias Cummins alias at proalias.com
Tue Jul 20 08:49:33 PDT 2010


Was the image a tiny dot? Because that 1,1 constructor would lead me
to expect that...

Alias

On 20 July 2010 16:46, ad nez <adnez7 at gmail.com> wrote:
> Hi,
>
> In the library I have a png with the following properties:
>
> Export for actionscript: true
> Export in first frame: true
> Class: Image
> Base class: flash.display.BitmapData
>
> One line of script in frame 1:  addChild(new Bitmap(new Image(1,1)));
>
> It worked...
>
> Cheers,
>
> Jan
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>



More information about the osflash mailing list