Anyone up for explain me how to make a custom cursor work ?

  • chimiwaza
  • Novice
  • Novice
  • chimiwaza
  • Posts: 19

Post 3+ Months Ago

Hi guys, was wondering if any of you can help me out making a custom cursor .... it would be greatly appreciated :shock:
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13502
  • Loc: Florida

Post 3+ Months Ago

It's usually easiest to use attachMovie() to attach one from the library, for one it's easier to swap between cursors,
two, it's easier to make sure it's depth is higher than everything else.
Code: [ Select ]
attachMovie("customCursorLinkageId", "customCursor", 9999);
Mouse.hide();
customCursor.onMouseMove = function(){
   this._x = _root._xmouse;
   this._y = _root._ymouse;
}
  1. attachMovie("customCursorLinkageId", "customCursor", 9999);
  2. Mouse.hide();
  3. customCursor.onMouseMove = function(){
  4.    this._x = _root._xmouse;
  5.    this._y = _root._ymouse;
  6. }


If you don't know where "customCursorLinkageId" comes from, do a quick search for "attachMovie(" or "linkage" limiting results to come only from the Flash/Actionscripting forum.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 11 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.