3 Replies Latest reply on Jun 27, 2006 10:06 PM by See4th

    problem in calling 1.swf into anather

    justbipin Level 1
      I am calling 1.swf and 2.swf in 3.swf,
      each .swf having there own small type of animation effect after click START button that each one having.
      when i am called 1 and 2.swf in 3.swf, 1.swf and 2.swf buttons are activated but its not working further on click.
      can any 1 tell me how to solve this problem.

      Regards
      Bipin N.
        • 1. Re: problem in calling 1.swf into anather
          Level 7
          "justbipin" <webforumsuser@macromedia.com> wrote in message news:e7r3am$a5c$1@forums.macromedia.com...
          >I am calling 1.swf and 2.swf in 3.swf,
          > each .swf having there own small type of animation effect after click START
          > button that each one having.
          > when i am called 1 and 2.swf in 3.swf, 1.swf and 2.swf buttons are activated
          > but its not working further on click.
          > can any 1 tell me how to solve this problem.
          >
          > Regards
          > Bipin N.

          How to solve it without the code? When you have a code problem, post the code or a link to it.
          tralfaz


          • 2. Re: problem in calling 1.swf into anather
            justbipin Level 1
            yes, i am sorry, here is the code,

            on(release)
            {
            var myMCL:MovieClipLoader = new MovieClipLoader();
            var myListener:Object = new Object();
            myMCL.addListener(myListener);
            myMCL.loadClip("try1.swf", 1);
            myMCL.loadClip("try2.swf", 2);
            }
            • 3. Re: problem in calling 1.swf into anather
              See4th Level 1
              justbipin,

              You need to load the swf's into a known movie clip with 'loadClip'.

              Ex:
              on(release){
              var holder1:MovieClip = createEmptyMovieClip("holder1", 1);
              var holder2:MovieClip = createEmptyMovieClip("holder2", 2);
              var myMCL:MovieClipLoader = new MovieClipLoader();
              var myListener:Object = new Object();
              myMCL.addListener(myListener);
              myMCL.loadClip("try1.swf", holder1);
              myMCL.loadClip("try2.swf", holder2);
              }