0 Replies Latest reply on Dec 26, 2007 9:20 PM by emc020673

    AS 2.0 question regarding load movie??

    emc020673
      here is my question: I have designed this site which plays a 141 frame animation at which point I embeded movie clips which will be called by the navigation

      here is my actions scripting as I have it on frame 141 on its own actions layer

      var currentPage = (page)


      function animateOn (page:String){
      eval(page).gotoAndPlay("play");
      }

      function animateOff (page:String){
      eval(page).gotoAndPlay("off");
      }

      home_btn.onRelease = function (){
      if (currentPage != "contentHome_mc")
      {
      animateOff(currentPage);
      animateOn("contentHome_mc");
      currentPage = "contentHome_mc";
      }
      }

      about_btn.onRelease = function(){
      if (currentPage != "contentAbout_mc")
      {
      animateOff(currentPage);
      animateOn("contentAbout_mc");
      currentPage = "contentAbout_mc";
      }
      }


      Now, my question here is what do I need to add to my AS to allow "contentHome_mc" to play at frame 141 once my small animation finishes..... right now, in order for "contentHome_mc" to play you need to click the home button, and I wish to have "contentHome_mc" to be the "default" movie clip as the user enters into the site. Load movie will not work since it is not an external .swf

      Thanks in advance...

      emc!