-
Adjustable cursor...
Hi,
I've seen this effect on a few sites and was wondering if any one knows of a tutorial or source file that can teach me how to do it.
The effect is only on the splash page and happens when the mouse moves over the "enter" on the screen.
-
Senior Member
Its a movieclip that follows the mouse.
Just paste this code on the movieclip.
onClipEvent(enterFrame){
this._x+=(_root._xmouse-this._x)/5;
this._y+=(_root._ymouse-this._y)/5;
}
-
Thanks for that - but how does the two bars of the movie clip know how spread out to the width (and height in some examples) of the link?
-
Senior Member
I was just using a simple example of the movement. They have two movieclips, each probably with a small animation inside that is triggered to start as soon as the mouse is over them. They may also have a random starting point.
Or they could have used the same script, but for _rotation instead of _xmouse with some different settings.
-
I tried this a while ago, I think I still have the source somewhere - I'll try to dig it out when I get home - that will be 6-7 hours
pm me with your e-mail address (to remind me) and i'll mail you when I get a chance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|