home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / episode4.swf / scripts / DefineSprite_1093 / frame_1 / DoAction.as
Encoding:
Text File  |  2007-03-20  |  270 b   |  11 lines

  1. if(Key.isDown(Key.LEFT) and 3 < eval("/Variables:InvNb"))
  2. {
  3.    Deplace = eval("/Variables:LargeurObjet");
  4.    gotoAndPlay(3);
  5. }
  6. if(Key.isDown(Key.RIGHT) and 3 < eval("/Variables:InvNb"))
  7. {
  8.    Deplace = -1 * eval("/Variables:LargeurObjet");
  9.    gotoAndPlay(3);
  10. }
  11.