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 2011-2-12

Get Adobe Flash player
by ton 12 Feb 2011
    Embed
package {
    import flash.display.Sprite;
    import flash.events.Event;
    import net.wonderfl.widget.Wanco;
  
    public class FlashTest extends Sprite {
        private var trace:Function = Wonderfl.log;
        private var unco:Wanco;
        public function FlashTest() {
            unco = new Wanco();
            unco.x = stage.stageWidth/2;
            unco.y = stage.stageHeight/2;
            addChild(unco);
            
            trace(unco.width);
            trace(unco.height);
            
            addEventListener(Event.ENTER_FRAME, update);
        }
        
        private function update(e:Event):void{
            unco["turnFace"]();    
        }
    }
}