View Full Version : custom cursor
dj fuzzline
10-19-2001, 07:11 PM
I used the method at www.macromedia.com/support/flash/ts/documents/custom_cursor.htm (http://www.macromedia.com/support/flash/ts/documents/custom_cursor.htm) to change the appearence of the mouse over my flash movie. The problem is when the mouse exits the movie area, the custom cursor stays visible in the movie. I'm sure there is a way, I just don't know how to go about actually doing it. You get the mouse position and when it is not present over the movie area, the movie clip with the custom cursor image in gets moved to, for example x= -30, y= -30, so it is not visible.
please could sombody show me how to actually implement this,
cheers, dj fuzzline.
Jesse
10-19-2001, 11:02 PM
Flash measures the _x and _y of the mouse according to the position on the stage. When you move the mouse off the stage completely it still thinks your mouse is at the last point it touched before you moved outseide the bounds. It's a bit crap like that. So your best bet would be to check if it's within a square area, allowing 10 pixels around the outside of the stage on each edge where it doesn't count... but then if you have content right near any edge, it will stuff up.
Ricod
10-24-2001, 11:22 AM
Does anyone know how to let your mouseClip go with u when u drage something else ? It appears to stop when u start to drag another button, and the reapperas when u release it ...
Anyone ?
Anyway, make a buttons by the borders which basically tells ur mouseClip to become invisible whe u rollOver the borderbuttons, and becomes visible again when u rollOut the borderbuttons
dj fuzzline
10-24-2001, 06:50 PM
I had that problem too, in the end I gave up trying, I think it's more hastle than it's worth. I think though, if you go to the-stickman.com (http://www.the-stickman.com/tutorials/f5smartcursor.shtml) , you can use the tutorial there, and it should solve the problem. It also makes the cursor dissapear when you leave the movie area.
It is much more complicated than the simple way though.
Check out this ->tut<- (http://www.ultrashock.com/tutorials/flash5.php) on ultrashock.
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.