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_71 / frame_1 / DoAction.as
Encoding:
Text File  |  2007-01-01  |  550 b   |  21 lines

  1. overSound = new Sound(this);
  2. overSound.attachSound("btnOver");
  3. loadBar_mc._width = 0;
  4. name_txt._y = -40;
  5. hit2_mc._y = -40;
  6. hit2_mc.onRollOver = function()
  7. {
  8.    this.colorTo(16777215,0,"easeOutSine");
  9.    overSound.start();
  10. };
  11. hit2_mc.onRollOut = function()
  12. {
  13.    this.colorTo(null,0.4,"easeOutSine");
  14. };
  15. hit2_mc.onRelease = function()
  16. {
  17.    image_num = _root.downloadCount_var;
  18.    var _loc2_ = _root.content_xml.firstChild.childNodes[2].childNodes[_root.secCount_var].childNodes[image_num].attributes.hiRes;
  19.    getURL(_loc2_,"");
  20. };
  21.