STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228131
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/31312865?noj=FRM31312865-15DC" width="1" height="1"></div>

z103.swf

This is the info page for
Flash #43174

(Click the ID number above for more basic data on this flash file.)


Text
<p align="center"><font face="Stencil Std" size="54" color="#999999" letterSpacing="12.000000" kerning="1"><a href="http://cacaw.net" target = "_blank"><b>Z103</b></a></font></p>

CACAW

irc.cacaw.net #FM

ActionScript [AS3]

Section 1
//MainTimeline (z103_fla.MainTimeline) package z103_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.utils.*; import flash.net.*; public dynamic class MainTimeline extends MovieClip { public var song:SoundChannel; public var ba:ByteArray; public var N:Number; public var K:Number; public var X_r:Array; public var a:Number; public var array:Array; public var url:String; public var X_i:Array; public var soundFactory:Sound; public var request:URLRequest; public function MainTimeline(){ addFrameScript(2, frame3); } function frame3(){ this.addEventListener(Event.ENTER_FRAME, spectrum); stop(); url = "http://stream1.cacaw.net:8000/"; request = new URLRequest(url); soundFactory = new Sound(); soundFactory.addEventListener(Event.ID3, id3Handler); soundFactory.load(request); song = soundFactory.play(); ba = new ByteArray(); a = 0; N = 32; K = 16; X_r = new Array(); X_i = new Array(); } public function progressHandler(_arg1:ProgressEvent):void{ } public function ioErrorHandler(_arg1:Event):void{ } public function id3Handler(_arg1:Event):void{ } public function spectrum(_arg1:Event){ var _local2:*; var _local3:*; var _local4:Number; var _local5:*; _local2 = 0; while (_local2 < 16) { X_r[_local2] = (X_i[_local2] = 0); _local2++; }; a = 0; graphics.clear(); SoundMixer.computeSpectrum(ba, true, 0); _local3 = 0; while (_local3 < N) { a = ba.readFloat(); _local2 = 0; while (_local2 < 16) { _local4 = ((((2 * Math.PI) * _local3) * _local2) / N); X_r[_local2] = (X_r[_local2] + (a * Math.cos(((((2 * Math.PI) * _local3) * _local2) / N)))); X_i[_local2] = (X_i[_local2] + (a * Math.sin(((((2 * Math.PI) * _local3) * _local2) / N)))); _local2++; }; _local3++; }; _local2 = 0; while (_local2 < 16) { graphics.lineStyle(0, 0); _local5 = Math.log((1 + Math.sqrt((Math.pow(X_r[_local2], 2) + Math.pow(X_i[_local2], 2))))); graphics.beginFill(0x444444); graphics.drawRect(((_local2 * 10) + 220), 125, 7, (-30 * _local5)); _local2++; }; } public function completeHandler(_arg1:Event):void{ } } }//package z103_fla

Library Items

Symbol 1 GraphicUsed by:Timeline
Symbol 2 FontUsed by:3 4 5
Symbol 3 EditableTextUses:2Used by:Timeline
Symbol 4 TextUses:2Used by:Timeline
Symbol 5 TextUses:2Used by:Timeline

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS3.




http://swfchan.com/9/43174/info.shtml
Created: 9/5 -2019 15:03:08 Last modified: 9/5 -2019 15:03:08 Server time: 15/05 -2024 19:14:13