and what is myBmd?

i tried that way:

                       [Embed(source="../assets/away3d.png")]
                       public var mcIcon:Class;

                        bmp = new Bitmap();
                        bmp.bitmapData = Cast.bitmap(mcIcon);
                        mcl.addChild(bmp);
                        Mouse.hide();
but it gives me blank screen.
Sorry for my dumb questions, but there isn't ONE proper tutorial how
to do that.Everyone is using flash, not flex.
I appreciate your patience and understanding.

On 16 Май, 23:21, Fabrice3D <[email protected]> wrote:
> var bm:Bitmap = new Bitmap();
> bm.bitmapData = myBmd;
> mc.addChild(bm);
>
> Please keep the questions related to Away. This is general Flash.
>
> Fabrice
>
> On May 16, 2010, at 2:13 PM, toshmosh wrote:
>
>
>
> > Anyone?
>
> > On 16 Май, 11:16, toshmosh <[email protected]> wrote:
> >> How can i assign picture to movie clip?.Currently i realised that
> >> movie clips has startDrag so i can use it as custom cursor, but i cant
> >> add picture to the movie clip.

Reply via email to