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

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