Search tutorials
In the main stage, create a new movie clip (Ctrl+F8) and call it 'rotate'. Leave it blank. In the first frame, add the following actions:
Set Variable: "xPos" = GetProperty("../drag", _y)
Set Variable: "xPos" = xPos-150
Set Property ("../nav", Rotation) = GetProperty ( "../nav", _rotation )-(xPos/20)
The first line determines where the mouse is. The second changes that number so that it is smaller, I used 150 because my movie's height is 300 and so I used half. Line 3 determines the rotation of the menu ('nav') and adds xPos/20 to it.
You can change xPos/20 to xPos/anything you want. This will either speed up or slow down the menu.
In the second frame add:
Go to and Play (_currentframe-1)
This will go back to the first frame so that it will loop.
| » Level Basic |
|
Added: 2000-12-08 Rating: 8.01 Votes: 353 |
| » Author |
| Arran Schlosberg is a web site & graphics designer, designing Flash movies for use in web sites, multimedia presentations & advertisments. He also designs company logos & static graphics, using Flash, Photoshop & Generator. |
| » Download |
| Download the files used in this tutorial. |
| Download (13 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!