Free Flash Education

Home Food Mates • Members Tutorials Forum Buy Templates Contact Us 

 


Flash Tutorials

   

Tutorial - Web Page Controls Flash Movie

 

Free Tutorial


Part 3    <<   Previous      Intro   1   2   3    >>       >>   Webwasp Mates

 

Part Three: Know Issues:

  1. Use "_level0 " when referring to just the main time line and "_level0/InstanceNameOfMC" when referring to a Movie Clip. The InstanceNameOfMC is whatever the Instance Name of the Movie Clip is, in the Property Inspector, in Flash (you need to type in the Instance Name). You must give each Movie Clip an instance name that is individual and unique. Do not use spaces with Instance Names and do not start the name with a number.

  2. Sometimes when using the go to frame label or number, you may need a play(); action script code on that label or frame, as the Movie might not always automatically play when going to a different frame and label. However most of the time it should be okay. You can use something like this:


    Go to and play or stop at a specific frame label or frame number:

    <a href='javascript:example.TGotoAndPlay("_level0/InstanceNameOfMC", "NameOfLabelOrFrameNumber")'>Goto And Play Method</a>
  3. <a href='javascript:example.TGotoAndStop("_level0/InstanceNameOfMC", "NameOfLabelOrFrameNumber")'>Goto And Stop Method</a>

    Note: I have never been able to get these methods work! So it may or may not be possible to use these above methods. Please give any feedback on the forum, and I will update this tutorial: Forum

For more tutorials on controlling Flash with JavaScript see the site Index:    A - Z Index

 

Please indicate what you thought of this tutorial 
10 is the best: 
10 9 8 7 6 5 4 3 2 1

         

Part 3    <<   Previous      Intro   1   2   3    >>       >>   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.