home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Diversos / beaverdive.swf / scripts / DefineSprite_302 / frame_1 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  253 b   |  10 lines

  1. if(_root.player._y > 160)
  2. {
  3.    a = {x:_root.player.bubbleTarg._x,y:_root.player.bubbleTarg._y};
  4.    _root.player.localToGlobal(a);
  5.    _root.bubble1._x = a.x - 3;
  6.    _root.bubble1._y = a.y - 3;
  7.    _root.bubble1.gotoAndPlay(1);
  8.    sound.play();
  9. }
  10.