Section 1
//MainTimeline (spiral01_fla.MainTimeline)
package spiral01_fla {
import flash.events.*;
import flash.display.*;
import flash.ui.*;
public dynamic class MainTimeline extends MovieClip {
public var level1:MovieClip;
public var level2:MovieClip;
public var level4:MovieClip;
public var level5:MovieClip;
public var level6:MovieClip;
public var level7:MovieClip;
public var level3:MovieClip;
public var level8:MovieClip;
public var rotationCounter:uint;
public var mainMenu:ContextMenu;
public function MainTimeline(){
addFrameScript(0, frame1);
}
public function enterFrameHandler(_arg1:Event):void{
level1.rotation = (level1.rotation + 1);
level2.rotation = (level2.rotation + 2);
level3.rotation = (level3.rotation + 3);
level4.rotation = (level4.rotation + 4);
level5.rotation = (level5.rotation + 5);
level6.rotation = (level6.rotation + 6);
level7.rotation = (level7.rotation + 7);
level8.rotation = (level8.rotation + 8);
rotationCounter++;
if (rotationCounter == 360){
rotationCounter = 0;
};
}
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 spiral01_fla