2 Replies Latest reply on Nov 17, 2009 3:15 PM by budge_frownie

    Moving movies

    budge_frownie

      Hey all

       

      I've been trying this all day and am kind of getting it sometimes but not quite.

      I have two invisible buttons and 2 masks in my document with a timeline of 30 frames

      I would like inv_btn to play the mask movie clip (mask1_mc) and inv2_btn to play the other mask movie clip (mask2_mc) when clicked individually

       

      I;ve been trying the following with not much luck

       

      inv_btn.onPress=function(){

      mask1_mc.gotoAndPlay(1);

      }

       

      inv2_btn.onPress=function(){

      mask2_mc.gotoAndPlay(1);

      }

       

      is this even possible (the movie clips are simple tween animations of the mask moving horizontally from frame 1-30 and a stop action on frame 30 has been placed)

       

      Thanks!