2 Replies Latest reply on Oct 9, 2006 3:33 AM by rohai

    controling one swf form another

    rohai Level 1
      Hi,
      I've searched but couldn't find a solution. I have two MovieClips, one in for navigation and the other is for pictures, which are loaded based on the navigation. I know how to load the proper SWF into a MC with picuters (these are swfs), but I don't know hot to tell to go to the right label and play that swf. So, when the user rolls over navigation, the proper swf is loaded and when he/she click, that swf is played. How can I make it play?

      I'm using the xml, it's all dynamic. The menu is in dynamicly created mc called mainmenu_mc, the MC for loaded SWFs is scene_mc.

      Here's the code:

        • 1. Re: controling one swf form another
          rohai Level 1
          Hi,
          I figure it out.

          I don't know how could I miss that:
          WRONG LINES
          Actions.gotoAndPlay = function(goAndPlay){
          _root.scene_mc.gotoAndPlay("goAndPlay"); /this one is not working
          };
          RIGHT LINES
          Actions.gotoAndPlay = function(goAndPlay){
          _root.scene_mc.gotoAndPlay(goAndPlay); /this one is not working
          };



          • 2. Re: controling one swf form another
            rohai Level 1
            Hi,
            I figure it out.

            I don't know how could I miss that:
            WRONG LINES
            Actions.gotoAndPlay = function(goAndPlay){
            _root.scene_mc.gotoAndPlay("goAndPlay"); /this one is not working
            };
            RIGHT LINES
            Actions.gotoAndPlay = function(goAndPlay){
            _root.scene_mc.gotoAndPlay(goAndPlay); /this one is not working
            };