View Full Version : Heeeelp, please!
03-24-2003, 10:43 AM
How do I do this mouseovereffect?
03-24-2003, 12:13 PM
Which one are you talking about? The menu at the top or the buttons down the left hand side?
03-24-2003, 12:39 PM
The one on the top. The mousefollower.
03-24-2003, 02:06 PM
How much ActionScript do you know?
Basically, they've got an on (Mouseover) event on each of the buttons that changes the _x property of the little movie clip that moves across the screen.
The movement of the movie clip will be on a loop that will continue to move itself 5 or 10 pixels at a time until it arrives at its destination. That destination point will obviously change depending on which button you have the mouse over.
03-25-2003, 06:47 AM
I don't know so much! I've tried to follow this tut:
The problem is that I have my mousefollower in a movieclip. It works but it doesn't follow the mouse. When I have the mouse about 100p underneath and 50 to the right of the follower it moves.
03-25-2003, 08:49 AM
Ok - which type of Flash are you using?
If you put the following code on the movie clip you want to move then it should follow the mouse around (don't forget to put an instance name on your MC!)
All that does is continally update the x position of your movie clip to be the same as your mouse. I've only used the x-axis here as that seems to be the general effect you want to achieve.
Does that help at all?
03-25-2003, 09:09 AM
MX., thanks I'll try it! :)
03-25-2003, 09:19 AM
Cool - let me know how you get on and if you have any problems with it
03-26-2003, 07:26 AM
It works fine. Thanks Simon :notworthy.
The only problem is that I want it to move only when the mouse is in the menyarea and that I don't want a delay on the follower. U have done enough for me but I have to ask, right?
Thanks in advance
03-26-2003, 08:36 AM
No problem Tomas - glad to have helped.
What you want to do is name the instance of the movie clip that you want to slide and put the following code on each of your menu buttons. Lets say we name the clip "slider":
And if you place your slider movie clip just off the side of the movie at the height that you want it should appear under each button as you roll the mouse over it.
What do you mean by having a delay on the follower? If you think it would help, I could have a go at doing a rough version for you tonight...
04-18-2003, 10:12 PM
good god that a nice web site that puts my flash site to shame..:o
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.