|
||||||
|
||||||
Flash
- Sliding Menus
Moving an Object on Roll
Over using ActionScript
Free Flash Tutorial
Step Six: Test the Movie
If everything is correct the menu should now slide in as the movie loads. You
may want to check that the stop point and speed are correct.
To
change the speed you need to change the division in the above line (Step
5, line 4).
If you make the number 10 higher the speed will be slower.
If you make the number 10 lower the speed will increase.
To
change the location of where the movie clip stops you need to change
the number in the action script in frame one: yTargetMC =
100; (Step 4).
If you make the number 100 higher the movie clip will slide further down
the page.
If you make the number 100 lower it will slide to a position higher up
the page.
Note: If
the target number is too high or too low you may find that your movie
clip either does not move far enough to enter the stage or move right
across the stage to stop too far down to be visible.
Note: You may use negative numbers: yTargetMC =
-100; or
positive numbers: yTargetMC =
100;
|
Why not try out webwasp's new community. Meet new people, find friends in your area: Webwasp Mates & Dates
|
|
|
All material on this site is protected under international copyright © law. DO NOT reproduce any material from this site without written permission. Please ask as permission is often granted.
|