2 Replies Latest reply on Feb 26, 2011 3:21 PM by undesignuk

    Simple targetting movie clip button within a movie clip




      I just can't work this out. It should be simple


      I am trying to target a movie clip within a movie clip.



      I have a movie clip on the main stage with an instance name of a




      I have the following action script on it


      on (release) {_root.a.gotoAndStop(2);



      So on frame 2 of a I have a button (instance name b) which also has two frames and a stop action on frame 1.
      All I want to do is click on the button and make it go to frame 2. It should work but it isn't
      Here is the actionscript on the button (b)
      on (press) {_root.a.b.gotoAndPlay(2);
      Any ideas?