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

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