Section 1
//IFlexAsset (mx.core.IFlexAsset)
package mx.core {
public interface IFlexAsset {
}
}//package mx.core
Section 2
//mx_internal (mx.core.mx_internal)
package mx.core {
public namespace mx_internal = "http://www.adobe.com/2006/flex/mx/internal";
}//package mx.core
Section 3
//SoundAsset (mx.core.SoundAsset)
package mx.core {
import flash.media.*;
public class SoundAsset extends Sound implements IFlexAsset {
mx_internal static const VERSION:String = "3.0.0.0";
}
}//package mx.core
Section 4
//Main (Main)
package {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.media.*;
import flash.utils.*;
public class Main extends Sprite {
private var txf:TextFormat;
private var counter:int;
private var dSound:Sound;
private var DevelopersSound:Class;
private var counterTf:TextField;
public function Main():void{
DevelopersSound = Main_DevelopersSound;
super();
dSound = new DevelopersSound();
counter = 0;
var _local1:Timer = new Timer((dSound.length * 0.85));
counterTf = new TextField();
counterTf.defaultTextFormat = new TextFormat("_sans", 10, 0x888888);
addChild(counterTf);
txf = new TextFormat("_sans", 20);
txf.align = TextFormatAlign.CENTER;
_local1.addEventListener(TimerEvent.TIMER, timerFunc);
_local1.start();
trace("hello");
stage.scaleMode = StageScaleMode.NO_SCALE;
}
public function timerFunc(_arg1:Event):void{
dSound.play();
var _local2:TextField = new TextField();
_local2.defaultTextFormat = txf;
_local2.text = "Developers";
_local2.autoSize = TextFieldAutoSize.CENTER;
_local2.x = (Math.random() * 800);
_local2.y = (Math.random() * 600);
addChild(_local2);
counterTf.text = ++counter.toString();
}
}
}//package
Section 5
//Main_DevelopersSound (Main_DevelopersSound)
package {
import mx.core.*;
public class Main_DevelopersSound extends SoundAsset {
}
}//package