Section 1
//Level1_1 (01_fla.Level1_1)
package 01_fla {
import flash.display.*;
public dynamic class Level1_1 extends MovieClip {
public var level2:MovieClip;
}
}//package 01_fla
Section 2
//Level2_2 (01_fla.Level2_2)
package 01_fla {
import flash.display.*;
public dynamic class Level2_2 extends MovieClip {
public var level3:MovieClip;
}
}//package 01_fla
Section 3
//Level3_3 (01_fla.Level3_3)
package 01_fla {
import flash.display.*;
public dynamic class Level3_3 extends MovieClip {
public var level4:MovieClip;
}
}//package 01_fla
Section 4
//MainTimeline (01_fla.MainTimeline)
package 01_fla {
import flash.events.*;
import flash.display.*;
import flash.ui.*;
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.text.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var level1:MovieClip;
public var road:MovieClip;
public var rotationCounter:uint;
public var mainMenu:ContextMenu;
public function MainTimeline(){
addFrameScript(0, frame1);
}
public function enterFrameHandler(_arg1:Event):void{
if ((((rotationCounter >= 0)) && ((rotationCounter < 90)))){
level1.level2.rotation = (level1.level2.rotation + 1);
};
if ((((rotationCounter >= 90)) && ((rotationCounter < 180)))){
level1.level2.level3.rotation = (level1.level2.level3.rotation + 1);
};
if ((((rotationCounter >= 180)) && ((rotationCounter < 270)))){
level1.level2.level3.level4.rotation = (level1.level2.level3.level4.rotation + 1);
};
if ((((rotationCounter >= 270)) && ((rotationCounter < 360)))){
level1.rotation = (level1.rotation + 1);
};
rotationCounter++;
if (rotationCounter == 360){
rotationCounter = 0;
};
trace(rotationCounter);
}
function frame1(){
rotationCounter = 0;
stage.quality = "BEST";
stage.scaleMode = "noScale";
stage.align = "TL";
mainMenu = new ContextMenu();
contextMenu = mainMenu;
contextMenu.hideBuiltInItems();
addEventListener(Event.ENTER_FRAME, enterFrameHandler);
}
}
}//package 01_fla