ok.
I found very simple solution to change the cursor :
import mx.managers.CursorManager;
[Embed(source="../assets/away3d.png")]
public var mcIcon:Class;
CursorManager.setCursor(mcIcon);
I hope it helps to someone..
On 17 Май, 08:09, toshmosh <[email protected]> wrote:
> also can you recommend me good AS3 book?Looks like i need it..
>
> On 17 Май, 00:12, toshmosh <[email protected]> wrote:
>
>
>
> > 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.