Section 1
//MainTimeline (star_wars_fla.MainTimeline)
package star_wars_fla {
import flash.events.*;
import flash.display.*;
import flash.ui.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
public dynamic class MainTimeline extends MovieClip {
public var rectMask_mc:MovieClip;
public var menu:ContextMenu;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
menu = new ContextMenu();
menu.builtInItems.forwardAndBack = false;
menu.builtInItems.loop = false;
menu.builtInItems.play = false;
menu.builtInItems.print = true;
menu.builtInItems.quality = true;
menu.builtInItems.rewind = false;
menu.builtInItems.save = false;
menu.builtInItems.zoom = false;
contextMenu = menu;
stop();
rectMask_mc.height = 1;
this.addEventListener(Event.ENTER_FRAME, loading);
}
public function loading(_arg1:Event):void{
var _local2:Number = this.stage.loaderInfo.bytesLoaded;
var _local3:Number = this.stage.loaderInfo.bytesTotal;
rectMask_mc.scaleY = (_local2 / _local3);
if (_local2 >= _local3){
play();
this.removeEventListener(Event.ENTER_FRAME, loading);
};
}
function frame2(){
stop();
}
}
}//package star_wars_fla