Section 1
//MainTimeline (heroofwar_fla.MainTimeline)
package heroofwar_fla {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var heroofwar:MovieClip;
public var mcpreloaderplay:MovieClip;
public var preloader_mc:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
public function ending(_arg1:Event):void{
if (heroofwar.currentFrame == 6120){
removeEventListener(Event.ENTER_FRAME, ending);
gotoAndStop(2);
};
}
function frame3(){
stop();
addEventListener(Event.ENTER_FRAME, ending);
}
function frame1(){
stop();
addEventListener(Event.ENTER_FRAME, loaderF);
}
public function playmovie(_arg1:Event):void{
gotoAndStop(3);
}
function frame2(){
stop();
mcpreloaderplay.buttonMode = true;
mcpreloaderplay.addEventListener(MouseEvent.CLICK, playmovie);
}
public function loaderF(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
_local2 = loaderInfo.bytesTotal;
_local3 = loaderInfo.bytesLoaded;
_local4 = (_local3 / _local2);
if (_local3 == _local2){
removeEventListener(Event.ENTER_FRAME, loaderF);
gotoAndStop(2);
} else {
preloader_mc.fill_mc.scaleX = _local4;
preloader_mc.ofBytes_txt.text = _local3;
preloader_mc.totalBytes_txt.text = _local2;
};
}
}
}//package heroofwar_fla
Section 2
//mcpreloader_1 (heroofwar_fla.mcpreloader_1)
package heroofwar_fla {
import flash.display.*;
import flash.text.*;
public dynamic class mcpreloader_1 extends MovieClip {
public var ofBytes_txt:TextField;
public var totalBytes_txt:TextField;
public var fill_mc:MovieClip;
}
}//package heroofwar_fla
Section 3
//mcpreloaderplay_3 (heroofwar_fla.mcpreloaderplay_3)
package heroofwar_fla {
import flash.display.*;
public dynamic class mcpreloaderplay_3 extends MovieClip {
public var fill_mc:MovieClip;
public function mcpreloaderplay_3(){
addFrameScript(107, frame108);
}
function frame108(){
stop();
}
}
}//package heroofwar_fla