Added: 3 years ago
From: mikenku
Views: 1,256
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (12)

Sign In or Sign Up now to post a comment!
  • Comment removed

  • Mouse.hide() doesn't seem to work for me.

    I troubleshooted and it says that "Mouse is undefined", which is really weird.

    I tried importing "import flash.ui.MouseCursor" and of course this doesn't work.

    This is REALLY strange since I never had this problem before....

  • @thedragonb0y

    it's import flash.ui.Mouse;

    not MouseCursor.

  • @eighteen4eva Dude I fixed the problem, the program, and my own answer! XDD

    Don't answer six month old questions.

  • It doesn't work with my buttons :(

  • hey man great vid thanks!!!

    The only question i have is:

    when i do this my custom cursor goes behind other buttons i have in the frame.i tried bringing the cursor to front but that didnt work. thanks.

  • @geocachmaster

    Did you found out how to do this?

    I have that problem now..

  • whats the difference with as3 and cs3

  • cs3 = version of Adobe programs (Flash, Photoshop, etc.)

    as3= ActionScript3, the newest programming language for flash.

  • Nice Video!

  • var mycursor:MovieClip; init(); function init():void{ mycursor = new MyCursor(); addChild(mycursor); mycursor.enabled = false; Mouse.hide(); stage.addEventListener(MouseEv­ent.MOUSE_MOVE, dragMyCursor); } function dragMyCursor(event:MouseEvent)­:void{ mycursor.x= this.mouseX; mycursor.y= this.mouseY; }
  • Thanks

  • mike u rock !

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more