forked from: as3swf test
forked from as3swf test (diff: 10)
ActionScript3 source code
/**
* Copyright ohisama ( http://wonderfl.net/user/ohisama )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/3fKn
*/
// forked from mash's as3swf test
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();
}
}
}