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
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)
That code looks fine. Have you assigned those instance names to those items (via the Properties panel)? Are there any animations of those items prior to that code being assigned?
Yup all instance names were given and this was written on frame one of the actions layer.
the animation itself starts on frame 1-30 but the this.gotoAndPlay (frame number)/instancename.gotoAndPlay (framenumber) don't seem to be working for me =(