Section 1
//block_2 (l00p_fla.block_2)
package l00p_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
public dynamic class block_2 extends MovieClip {
public var init;
public var go:SimpleButton;
public function block_2(){
addFrameScript(0, frame1);
}
public function go_click(_arg1:MouseEvent){
navigateToURL(new URLRequest("http://www.0chan.ru"), "_parent");
}
function frame1(){
if ((((init == false)) || ((init == undefined)))){
go.addEventListener(MouseEvent.MOUSE_OVER, go_play);
go.addEventListener(MouseEvent.CLICK, go_click);
init = true;
};
stop();
}
public function go_play(_arg1:MouseEvent){
play();
}
}
}//package l00p_fla
Section 2
//MainTimeline (l00p_fla.MainTimeline)
package l00p_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
public dynamic class MainTimeline extends MovieClip {
public var hblue;
public var box:MovieClip;
public var init;
public var hphase;
public var hue;
public var hgreen;
public var sp:MovieClip;
public var hspeed;
public var val:Number;
public var togo:int;
public var snd:Sound;
public var hred;
public var i:int;
public var hmax;
public var ba:ByteArray;
public function MainTimeline(){
addFrameScript(0, frame1);
}
function frame1(){
if ((((init == false)) || ((init == undefined)))){
this.stage.scaleMode = StageScaleMode.NO_SCALE;
this.stage.quality = StageQuality.MEDIUM;
snd = new loopWav();
snd.play(0, 9999999999, new SoundTransform(1, 0));
init = true;
hue = 0;
hmax = 2;
hred = hmax;
hgreen = 0;
hblue = 0;
hspeed = 0.05;
hphase = 1;
};
ba = new ByteArray();
SoundMixer.computeSpectrum(ba, true, 0);
drawSpectrum();
ba.position = 0;
i = (this.numChildren - 1);
while (i > 0) {
val = Math.abs(ba.readFloat());
ba.position = (ba.position + 0x0100);
val = (val + Math.abs(ba.readFloat()));
ba.position = (ba.position - 0x0100);
val = (val * 3);
if (val > 0.3){
box = (this.getChildAt(i) as MovieClip);
togo = (15 - Math.ceil((14 * val)));
if (togo < 1){
togo = 1;
};
box.gotoAndPlay(togo);
};
i--;
};
}
public function drawSpectrum(){
var _local1:ByteArray = new ByteArray();
SoundMixer.computeSpectrum(_local1, false, 2);
var _local2:Graphics = sp.graphics;
_local2.clear();
_local2.beginGradientFill(GradientType.LINEAR, [0xCC00, 0xAA00, 0xAA00, 0xCC00], [0.5, 0.3, 0.3, 0.5], [0, 20, 235, 0xFF]);
var _local3:int;
while (_local3 < 0x0100) {
_local2.drawRect(((_local3 - 128) * 2), 20, 1, (-20 - (Math.abs(_local1.readFloat()) * 200)));
_local3++;
};
_local2.endFill();
}
}
}//package l00p_fla
Section 3
//loopWav (loopWav)
package {
import flash.media.*;
public dynamic class loopWav extends Sound {
}
}//package