3 Replies Latest reply on Jul 20, 2009 5:07 AM by Ned Murphy

    if( Key.isDown(Key.RIGHT) ) advance to next keyframe

    LPeekaman Level 1

      I'm a beginner in flash. I'm trying to make a script let me advance tio the next keyframe by clicking right.I'm making a game. I tried

       

      if( Key.isDown(Key.RIGHT) )

      gotoAndPlay (11)

       

      but it doesnt work. Also, should I put the script on an object or the entire keyframe?