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

flash on 2009-9-5

Get Adobe Flash player
by nayu 05 Sep 2009
    Embed
package {
    import flash.display.Sprite;
    import mx.controls.*;
    import flash.events.*; 
    import flash.text.*;
    public class FlashTest extends Sprite {
        public function FlashTest()
        {
            // write as3 code here..
            var btn:Button = new Button();
            stage.addEventListener(MouseEvent.CLICK, showMes); 
        }
        
        public function showMes(e:Event):void
        {
            var mytxt:TextField= new TextField();
            mytxt.text = String(e.type);
            this.addChild(mytxt);
        }
        
    }
}