home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Diversos / ntech.swf / scripts / DefineSprite_115_LaserGraphicID / frame_11 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  412 b   |  19 lines

  1. this.onEnterFrame = function()
  2. {
  3.    if(_root.Special == "None" || _root.Special == "Missile" || _root.Special == "CrossBeam")
  4.    {
  5.       if(_root.BeamColor == "0x00FF00")
  6.       {
  7.          gotoAndPlay(1);
  8.       }
  9.       else if(_root.BeamColor == "0x9933CC")
  10.       {
  11.          gotoAndPlay(12);
  12.       }
  13.       else if(_root.BeamColor == "0x0000FF")
  14.       {
  15.          gotoAndPlay(22);
  16.       }
  17.    }
  18. };
  19.