home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / gladiator_castle_war.swf / scripts / DefineSprite_37 / frame_1 / DoAction.as
Encoding:
Text File  |  2007-03-15  |  223 b   |  11 lines

  1. stop();
  2. obj = this;
  3. while(obj !== _root and obj !== _root.playerCharacter)
  4. {
  5.    obj = obj._parent;
  6. }
  7. if(obj == _root.playerCharacter)
  8. {
  9.    gotoAndStop(_root.possibleShields[_root.playerActiveShield].framename);
  10. }
  11.