home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / batman_cobble.swf / scripts / frame_29 / DoAction_2.as next >
Encoding:
Text File  |  2006-06-13  |  368 b   |  17 lines

  1. _root.game.checkpoint_1b_01.onEnterFrame = function()
  2. {
  3.    if(this.hitTest(_root.game.player))
  4.    {
  5.       _root.camHeight += 15;
  6.       _root.gotoNext = "card:bank";
  7.       _root.fadeout.play();
  8.    }
  9. };
  10. _root.game.checkpoint_1b_02.onEnterFrame = function()
  11. {
  12.    if(this.hitTest(_root.game.player))
  13.    {
  14.       _root.overlay.gotoAndPlay("goLeft");
  15.    }
  16. };
  17.