Search Our Web Design Blog...

Monday, November 14, 2011

Custom Cursor

  • Press (Ctrl+F8) to create a new symbol.
    "Create New symbol" window will appear
  • Name your symbol cursorNew_mc.
  • Click on movieclip behavior and then press "OK"
    Now you would have entered your movieclip symbol
  • Draw anything you like to replace the existing cursor.
    For example I drew an arrow as shown below
  • Now come back to "Scene 1" which is your main movie
    To get back to "Scene 1", click on the "Scene 1" text on top of your timeline window as shown in the figure below
In "Scene 1" of your Main Movie
  • Drag your cursorNew_mc movieclip symbol from library onto your stage.
    If Library window is not open, Press (Ctrl+L).
  • Name this Symbol "cursornew" in the instance text box of your property window.
  • Select 1st Frame of your "Layer1". Go to Actionscript panel ( If your actionscript panel is not open, Press "F9")
  • With Frame1 of your layer 1 still being selected, type the below mentioned script in your action panel.

    Mouse.hide()
    startDrag(cursornew,true)

No comments:

Post a Comment