-
1 Attachment(s)
Cursor Help AS2
So I used a tutorial to make a neat little cursor animation....now the regular cursor is still visible. I would like to use another mc as the cursor. I'm really stuck I can get the cursor to hide but not my mc to show up. here's the code maybe someone could help me out
Code:
var i:Number = 0;
this.createEmptyMovieClip("canvas_mc",50);
var myListener:Object = new Object();
Mouse.addListener(myListener);
myListener.onMouseMove = function() {
var t:MovieClip = canvas_mc.attachMovie("bubble","bubble"+i,canvas_mc.getNextHighestDepth());
i++;
t._x = _xmouse;
t._y = _ymouse;
t._xscale = t._yscale = (Math.random() *80) + 20;
}
Mouse.hide()
startDrag(MC_cursor,true)
if you need to see the file i've attached it
-
sometimes the cursor appears in flash even when you use the actionscript code to stop it. It usually appears when you right click.