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

as3swf test

see https://github.com/claus/as3swf/wiki
for details
Get Adobe Flash player
by mash 13 Nov 2010
/**
 * Copyright mash ( http://wonderfl.net/user/mash )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/vJkh
 */

package {
  import flash.display.*;
  import flash.events.MouseEvent;
  import flash.text.TextField;
  import com.codeazur.as3swf.SWF;
  
  public class as3swfTest extends Sprite {
      public function as3swfTest() {
        var tf :TextField = new TextField;
        tf.width = stage.stageWidth;
        tf.height = stage.stageHeight;
        addChild( tf );  
    
        var swf:SWF = new SWF(root.loaderInfo.bytes);
        tf.text = swf.toString();
      }

    
  }
}