home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / episode1.swf / scripts / DefineSprite_2096 / frame_1 / DoAction.as
Encoding:
Text File  |  2007-03-20  |  529 b   |  19 lines

  1. if(this.hitTest(_root.Meg._x,_root.Meg._y,true))
  2. {
  3.    if(Key.isDown(Key.SPACE) and eval("/Variables:ObjetSelect") == 12 and eval("/Variables:ChaloupeBaissee") != true)
  4.    {
  5.       set("/Variables:ChaloupeBaissee",true);
  6.       tellTarget("/Animatique")
  7.       {
  8.          gotoAndStop("Gear2");
  9.       }
  10.    }
  11.    if(Key.isDown(Key.SPACE) and eval("/Variables:ObjetSelect") != 12 and eval("/Variables:ChaloupeBaissee") != true)
  12.    {
  13.       tellTarget("/Animatique")
  14.       {
  15.          gotoAndStop("Gear1");
  16.       }
  17.    }
  18. }
  19.