Flash Training: Menu Script

Home Food Mates • Members Tutorials Forum Buy Templates Contact Us 

 


Flash Tutorials

   

Flash - Menu that Swings In

 

Free Flash Tutorial


Step 9    <<   Previous      Intro   1   2   3   4   5   6   7   8   9   10   11     Next   >>       >>   Webwasp Mates

 

Step Nine: ActionScript for the Movie Clips

The ActionScript below makes sure that the Movie Clips follow the lead of Movie Clip 1.

  1. Place the following code on: Movie Clip 2

        onClipEvent (enterFrame) {
            _x = _root.MC1._x; // button 2 refers back to button 1
        }

  2. Place the following code on: Movie Clip 3

        onClipEvent (enterFrame) {
            _x = _root.MC2._x
        }

  3. Place the following code on: Movie Clip 4

        onClipEvent (enterFrame) {
            _x = _root.MC3._x
        }
  4. Place the following code on: Movie Clip 5

        onClipEvent (enterFrame) {
            _x = _root.MC4._x
        }
  5. Place the following code on: Movie Clip 6

        onClipEvent (enterFrame) {
            _x = _root.MC5._x
        }



    Note:
    The code for MC 2 refers back to MC 1,
    The code for MC 3 refers back to MC 2,
    The code for MC4 refers back to MC3,
    etc.

         

Step 9    <<   Previous      Intro   1   2   3   4   5   6   7   8   9   10   11     Next   >>       >>   Webwasp Mates


Webwasp Community: Webwasp Mates & Dates

Why not try out webwasp's new community. Meet new people, find friends in your area: Webwasp Mates & Dates

 Top of Page Home Food Mates Members Tutorials Forum Buy Templates Contact Us 
 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.