Section 1
//MainTimeline (fagsgottold_fla.MainTimeline)
package fagsgottold_fla {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public dynamic class MainTimeline extends MovieClip {
public var b2:Number;
public var b4:Number;
public var b1:Number;
public var b3:Number;
public var debug1:TextField;
public var tiempo:Number;
public var bola0:MovieClip;
public var bola1:MovieClip;
public var bola3:MovieClip;
public var bola4:MovieClip;
public var bola2:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1);
}
public function bolas(_arg1:Event):void{
tiempo = (tiempo + 1);
if ((tiempo % 1) == 0){
bola4.y = (20 + tiempo);
};
if ((tiempo % 2) == 0){
bola3.y = (20 + tiempo);
};
if ((tiempo % 4) == 0){
bola2.y = (20 + tiempo);
};
if ((tiempo % 8) == 0){
bola1.y = (20 + tiempo);
};
if ((tiempo % 16) == 0){
bola0.y = (20 + tiempo);
};
debug1.text = ("f= " + tiempo);
if (tiempo > 250){
tiempo = 0;
};
}
function frame1(){
tiempo = 0;
b1 = 0;
b2 = 0;
b3 = 0;
b4 = 0;
stage.addEventListener(Event.ENTER_FRAME, bolas);
}
}
}//package fagsgottold_fla