Section 1
//MainTimeline (lolic95_fla.MainTimeline)
package lolic95_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var music:Sound;
public var chn:SoundChannel;
public var bmdc:BitmapData;
public var bmpc:Bitmap;
public var bmdi:BitmapData;
public var bmpi:Bitmap;
public var clouds:BitmapData;
public var icons:BitmapData;
public var lol:Bitmap;
public var lolmc;
public var s:Number;
public var rect:Rectangle;
public var time:int;
public var time2:int;
public var time3:int;
public var time4:int;
public var xx:Number;
public var yc:Number;
public var yi:Number;
public var yy:Number;
public var cx:Number;
public var cw:int;
public var cy:Number;
public var ch:int;
public var ix:Number;
public var iw:int;
public var iy:Number;
public var ih:int;
public var sm:int;
public var p:Point;
public function MainTimeline(){
addFrameScript(0, frame1);
}
function frame1(){
stage.quality = "LOW";
music = new spark22();
chn = music.play(0, 1000);
bmdc = new BitmapData(550, 400, false, 0);
bmpc = new Bitmap(bmdc);
bmdi = new BitmapData(550, 400, true, 0);
bmpi = new Bitmap(bmdi);
clouds = new clouds_png();
icons = new BitmapData((1155 * 2), (730 * 2), true, 0);
icons.draw(new icons_png(), new Matrix(2, 0, 0, 2, 0, 0));
lol = new Bitmap(new text_png());
lolmc = new MovieClip();
lolmc.addChild(bmpc);
lolmc.addChild(bmpi);
lolmc.addChild(lol);
addChild(lolmc);
lol.x = (275 - ((lol.width / 2) * 0.9));
lol.y = (200 - (lol.height / 2));
lol.scaleX = 0.9;
lol.scaleY = 0.9;
s = 0.9;
rect = new Rectangle(0, 0, 550, 400);
time = (Math.random() * 1000000);
time2 = (Math.random() * 1000000);
time3 = (Math.random() * 1000000);
time4 = 300;
xx = 0.6;
yc = 0.6;
yi = 0.8;
yy = 0.6;
cx = 0;
cw = clouds.width;
cy = 0;
ch = clouds.height;
ix = 0;
iw = icons.width;
iy = 0;
ih = icons.height;
sm = 2;
p = new Point(0, 0);
stage.addEventListener(KeyboardEvent.KEY_DOWN, function (_arg1:KeyboardEvent){
if (_arg1.keyCode == 32){
sm = ((sm + 1) % 3);
};
switch (sm){
case 0:
lolmc.scaleX = 2;
lolmc.scaleY = 2;
lolmc.x = -275;
lolmc.y = -200;
stage.scaleMode = "noScale";
break;
case 1:
lolmc.scaleX = 1;
lolmc.scaleY = 1;
lolmc.x = 0;
lolmc.y = 0;
stage.scaleMode = "exactFit";
break;
case 2:
stage.scaleMode = "showAll";
break;
};
});
addEventListener(Event.ENTER_FRAME, function (){
var _local1:int;
var _local2:int;
time++;
if (Math.random() >= 0.9){
time2++;
};
if (Math.random() >= 0.9){
time3++;
};
if (Math.abs(yc) >= 0.5){
time4--;
};
if (time4 <= 0){
time4 = (240 + (Math.random() * 720));
if (yy > 0){
yy = (-0.5 - (Math.random() * 2));
} else {
yy = (0.5 + (Math.random() * 2));
};
};
xx = (4 + (Math.cos((time2 / 140)) * Math.cos((time3 / 130))));
if (yc > yy){
yc = (yc - (Math.random() * 0.01));
} else {
yc = (yc + (0 + (Math.random() * 0.01)));
};
if (yi > yy){
yi = (yi - (Math.random() * 0.01));
} else {
yi = (yi + (0 + (Math.random() * 0.01)));
};
if (yc > 2){
yc = 2;
} else {
if (yc < -2){
yc = -2;
};
};
if (yi > 2){
yi = 2;
} else {
if (yi < -2){
yi = -2;
};
};
cx = (cx + (Math.round(((xx * (0.6 + (0.3 * Math.sin((time2 / 20))))) * 3)) / 4));
cy = (cy + (Math.round(((yc * (0.6 + (0.3 * Math.sin((time3 / 29))))) * 3)) / 4));
if (cx <= -(cw)){
cx = (cx + cw);
};
while (cx > 0) {
cx = (cx - cw);
};
if (cy <= -(ch)){
cy = (cy + ch);
};
while (cy > 0) {
cy = (cy - ch);
};
ix = (ix + (Math.round((xx * 3)) / 4));
iy = (iy + (Math.round((yi * 3)) / 4));
if (ix <= -(iw)){
ix = (ix + iw);
};
while (ix > 0) {
ix = (ix - iw);
};
if (iy <= -(ih)){
iy = (iy + ih);
};
while (iy > 0) {
iy = (iy - ih);
};
bmdc.lock();
bmdi.lock();
_local1 = cx;
while (_local1 < 550) {
_local2 = cy;
while (_local2 < 400) {
rect.x = -(_local1);
rect.y = -(_local2);
bmdc.copyPixels(clouds, rect, p);
_local2 = (_local2 + ch);
};
_local1 = (_local1 + cw);
};
_local1 = ix;
while (_local1 < 550) {
_local2 = iy;
while (_local2 < 400) {
rect.x = -(_local1);
rect.y = -(_local2);
bmdi.copyPixels(icons, rect, p);
_local2 = (_local2 + ih);
};
_local1 = (_local1 + iw);
};
bmdc.unlock();
bmdi.unlock();
lol.visible = !(((int((time / 30)) % 3) == 0));
});
}
}
}//package lolic95_fla
Section 2
//clouds_png (clouds_png)
package {
import flash.display.*;
public dynamic class clouds_png extends BitmapData {
public function clouds_png(_arg1:int=661, _arg2:int=415){
super(_arg1, _arg2);
}
}
}//package
Section 3
//icons_png (icons_png)
package {
import flash.display.*;
public dynamic class icons_png extends BitmapData {
public function icons_png(_arg1:int=1155, _arg2:int=730){
super(_arg1, _arg2);
}
}
}//package
Section 4
//spark22 (spark22)
package {
import flash.media.*;
public dynamic class spark22 extends Sound {
}
}//package
Section 5
//text_png (text_png)
package {
import flash.display.*;
public dynamic class text_png extends BitmapData {
public function text_png(_arg1:int=563, _arg2:int=129){
super(_arg1, _arg2);
}
}
}//package