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

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