Vectorials
Flash Perfection
3D Lessons
Tutorialkit
Markup Tutorials
Learn PHP
network
adv banner
Flash & Swish  Home Flash & Swish Swish Tutorials Transform Slider For Swish Menus
rss

Transform Slider For Swish Menus

Author: takamine_x2 More by this author


To make this effect...

Step 1: Creating Labels

a) Create a sprite named actions.

Insert labels (3 frames apart) starting at frame 10-15. (I'll explain why in a sec.)

b) Name the labels - I use the numbers 0-3 but you can name them anything. Now place a 'goto previous frame' action directly behind each label and a 'stop' action directly behind that.

Step 2: Creating The Slider

a) Group your follower text or graphic as a sprite.

b) Now move the text, or graphic that will follow the curser to the default position. (where it will sit when inactive)

This can even be out of the movie window. In my example the animation is on the 'X' path (side to side) so I will explain it accordingly. - Once the 'follower' is in the rest spot, goto transform in the options panel and see the X value lets say 259. I also recommend making it a whole # - it's just easier. - Go back to you actions frame, click on the first label and add the commands in step 3.

Step 3: Adding The Actions

a) Tell target '/follower' -- Then add the transform commands to the ' X ' section...

click on (-=) and add the number 259.
goto transform again. click on (*= and add 0.8) this controls the speed...
goto transform again and add (+=) and add the number 259 again...

b) Repeat this process for each label representing each link.

After this is done, move the follower back to default position. now add the rollover actions to your buttons.

Link 1 - on rollover - tell target actions - goto label 1 - Not label 0.. then repeat this process with each link sending the follower to the right label.

On all of the links add this action - On roll out- tell target actions - goto frame 0 - Play - the extra 10 frames will give the follower time to move smoothly and not try to jerk back to default position on each roll out. another alt. is to just not add a roll out action at all...

I hope this helps... (I’m not a tutorial writer)



Author's URL: www.swish-db.com

Rate this Material: Bad 1 2 3 4 5 Excellent
print this page tell a friend subscribe to newsletter subscribe to rss

Add comments to "Transform Slider For Swish Menus"