3 Replies Latest reply on Jan 14, 2011 1:03 PM by schugabug

    as2 controlling button function in a movieClip within a movie

    schugabug Level 1

      Ok, trying to figure out  as2 and I'm not doing too well

       

      I have a main timeline and on frame 6 I have  a game1_mc to be controlled from the main timeline, that has start drag on it.  The cursor changes to a hand but the movieClip won't drag. Could someone tell me how to get this to work?

      After trying many things, I currently have  on a frame on the main timeline:

       

      game1_mc.purpleTri.onPress=function() {

      this.startDrag();

      }

      game1_mc.purpleTri.onRelease=function(){

      this.stopDrag();

      }

       

      what am i missing?