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 backCounter:uint;
public var back2:MovieClip;
public var back3:MovieClip;
public var level1:MovieClip;
public var level2:MovieClip;
public var level4:MovieClip;
public var back1:MovieClip;
public var level6:MovieClip;
public var level7:MovieClip;
public var back5:MovieClip;
public var level3:MovieClip;
public var level5:MovieClip;
public var level8:MovieClip;
public var back4:MovieClip;
public var backAlphaVel:Number;
public var mainMenu:ContextMenu;
public var currentTime:uint;
public function MainTimeline(){
addFrameScript(0, frame1);
}
public function backAlphaReset():void{
back1.alpha = 1;
back2.alpha = 1;
back3.alpha = 1;
back4.alpha = 1;
back5.alpha = 1;
}
function frame1(){
backCounter = 0;
backAlphaVel = 0.03;
stage.quality = "BEST";
stage.scaleMode = "noScale";
stage.align = "TL";
mainMenu = new ContextMenu();
contextMenu = mainMenu;
contextMenu.hideBuiltInItems();
addEventListener(Event.ENTER_FRAME, enterFrameHandler);
}
public function enterFrameHandler(_arg1:Event):void{
currentTime = new Date().getTime();
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);
back2.alpha = (0.5 + (0.5 * Math.sin((currentTime / 200))));
back3.alpha = (0.5 + (0.5 * Math.sin((currentTime / 237))));
back4.alpha = (0.5 + (0.5 * Math.sin((currentTime / 274))));
back5.alpha = (0.5 + (0.5 * Math.sin((currentTime / 311))));
}
}
}//package spiral01_fla