A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Cursor Help AS2

Threaded View

  1. #1
    Junior Member
    Join Date
    Jul 2009
    Posts
    3

    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
    Attached Files Attached Files

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center