In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

FlexTest //doesn't work

Get Adobe Flash player
by ngs 24 Feb 2009
    Embed
// 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);
        }
    }
}