9 Replies Latest reply on Dec 9, 2009 7:14 AM by Ned Murphy

    Content of external swf showing outside of movie clip

    cterry06

      untitled.JPG

       

      This is my final project for a multimedia class I have, a link of which is here

      http://mmproduction.blogspot.com/2009/11/final-project-nytimes-food-issue.html

       

      Basically, I have a movie clip instance (loader_mc).  I have the buttons loading external swfs with this code:

      stop();

       

      total_photos = 20;
      function get_photo(newnumber){
          current_photo = "do" + newnumber + ".swf";
          loader_mc.loadMovie(current_photo);
      }

      Next button:

      on(release){
          if (n < total_photos){
              n++;
          } else {
              n = 1;
          }
          get_photo(n);
      }

       

      Previous button:

      on(release){
          if (n>1){
              n--;
          } else {
              n = total_photos;
          }
          get_photo(n);
      }

       

      I want the number buttons to load the swf - to give users better usability.  So this is the code I have for each button:

      on(release)
      {
          loadMovie("do1.swf","loader_mc");
      }

       

      But when I run my main swf- the content of the external swf loads outside of the area I want the content to be - because in the external swfs i positioned stuff off the stage - how can i hide the content I don't want seen?