3 Replies Latest reply on Mar 29, 2011 11:02 AM by kglad

    How To Import Swf Into Another Swf?

    joanneh2024

      I'm using CS3, I want to import a small swf into my main swf.

       

      I tried this code:

      try 01

      onClipEvent (load){

      _root.loadMovie("small.swf");

      }

      it show only my small.swf but outside the mainpage, this is not I want.

       

       

      I also tried this:

      try 02

      var myLoader:Loader = new Loader();

      addChild(myLoader);

      var url:URLRequest = new URLRequest("small.swf");

      myLoader.load(url);

       

      can see the mainpage, but can't load "small.swf"

       

       

      Anyone can help?

      best regards,

       

      Joanne