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_86 / frame_1 / DoAction.as
Encoding:
Text File  |  2007-01-01  |  743 b   |  26 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. name_txt.colorTo(2148607,0,"easeOutSine");
  8. name_txt.colorTo(16777215,0.4,"easeOutSine");
  9. hit_mc.onRollOver = function()
  10. {
  11.    name_txt.colorTo(2148607,0,"easeOutSine");
  12.    overSound.start();
  13. };
  14. hit_mc.onRollOut = function()
  15. {
  16.    name_txt.colorTo(16777215,0.4,"easeOutSine");
  17. };
  18. hit_mc.onRelease = hit_mc.onReleaseOutside = function()
  19. {
  20.    _root.gotoAndStop("movies");
  21.    infoContentReturn();
  22.    _root.imageLogoSub_mc.alphaTo(100,0.3,"easeOutQuad",0.5);
  23.    _root.imageLogoSub_mc.colorTo(null,0.3,"easeOutQuad",0.7);
  24.    mainEnabler(true,16777215,true,16777215,false,2148607,true,16777215);
  25. };
  26.