How To Transform Slider For Swish Menus
Posted by Design Instructor | Posted in Flash | Posted on 24-02-2010
0
Step 1: Creating Labels
a) At fist you should create a sprite named actions.
Then you need to insert labels (3 frames apart) starting at frame 10-15.
b) After that you should name the labels. Now you should place a ‘go to previous frame’ action directly behind each label and a ’stop’ action directly behind that.
Step 2: Creating The Slider
a) Now you need to group your next text or graphic as a sprite.
b) Now you should move the text, or graphic that will follow the curser to the default position.
This can even be out of the movie window. In this tutorial the animation is on the ‘X’ path (side to side). Once the ‘follower’ is in the rest spot, you should go to transform in the options panel and see the X value lets say 259. You should go back to you actions frame, click on the first label and after that you need to add the commands in step 3.
Step 3: Adding The Actions
a) Now you need to tell target ‘/follower’ — Then you should 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) After that you should repeat this process for each label representing each link.
After this is done, move the follower back to default position. Now you need to add the rollover actions to your buttons.
Link 1 - on rollover - tell target actions – go to label 1 - Not label 0.. Then you need to repeat this process with each link sending the follower to the right label.
On all of the links you should add this action - On roll out- you need to tell target actions – go to 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…
