FlexTest //doesn't work
// forked from ngs's forked from: flash on 2009-2-24
// forked from ngs's flash on 2009-2-24
package {
import mx.core.Application;
import mx.controls.TextInput;
import mx.containers.Panel;
import mx.events.FlexEvent;
public class FlexTest extends Application {
private var pn:Panel;
private var ipt:TextInput;
public function FlexTest() {
addEventListener(FlexEvent.APPLICATION_COMPLETE,onAppInit);
trace(this);
}
private function onAppInit(e:FlexEvent=null):void {
pn = new Panel();
ipt = new TextInput();
ipt.text = "hoge";
pn.addChild(ipt);
addChild(pn);
}
}
}