home *** CD-ROM | disk | FTP | other *** search
/ Geek Games #12 / GEGA012.iso / violencia / StickRPG_Combat.swf / scripts / DefineSprite_585_fadeInFX / frame_2 / DoAction.as
Text File  |  2006-01-11  |  312b  |  14 lines

  1. rgb += 10;
  2. myColorTransform.rb = rgb;
  3. myColorTransform.gb = rgb;
  4. myColorTransform.bb = rgb;
  5. myColor.setTransform(myColorTransform);
  6. if(rgb >= 0)
  7. {
  8.    myColorTransform.rb = 0;
  9.    myColorTransform.gb = 0;
  10.    myColorTransform.bb = 0;
  11.    myColor.setTransform(myColorTransform);
  12.    this.unloadMovie();
  13. }
  14.