home *** CD-ROM | disk | FTP | other *** search
/ Dragon Blade - Wrath of Fire (USA) (Press Kit) / Dragon Blade - Wrath of Fire (USA) (Press Kit).bin / pc / main.swf / scripts / DefineSprite_127 / frame_1 / DoAction.as
Encoding:
Text File  |  2007-01-01  |  535 b   |  22 lines

  1. overSound = new Sound(this);
  2. overSound.attachSound("btnOver");
  3. loadBar_mc._width = 0;
  4. hitVal = 0;
  5. hit_mc._alpha = 0;
  6. var Plink;
  7. hit_mc.onRollOver = function()
  8. {
  9.    name_txt.colorTo(16770048,0,"easeOutSine");
  10.    overSound.start();
  11. };
  12. hit_mc.onRollOut = function()
  13. {
  14.    name_txt.colorTo(16777215,0.4,"easeOutSine");
  15. };
  16. hit_mc.onRelease = hit_mc.onReleaseOutside = function()
  17. {
  18.    _root.gotoAndStop("artCharAssets");
  19.    infoContentReturn();
  20.    subEnabler(false,16770048,true,16777215,true,16777215,true,16777215);
  21. };
  22.