forked from: Object Code Formatter
forked from Object Code Formatter (diff: 61)
ActionScript3 source code
/**
* Copyright bkzen ( http://wonderfl.net/user/bkzen )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/buXZ
*/
<?xml version="1.0" encoding="utf-8"?>
<!-- forked from clockmaker's Object Code Formatter -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" applicationComplete="test()">
<mx:Script>
<![CDATA[
import flash.utils.describeType;
private function test():void
{
var xml:XML = describeType(this);
output.text = xml;
}
]]>
</mx:Script>
<mx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";
mx|TextArea {
fontFamily: Courier;
}
</mx:Style>
<mx:Panel title="Object Code Formatter" width="100%" height="100%" paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10" horizontalAlign="center" >
<mx:TextArea id="output" width="100%" height="100%" />
</mx:Panel>
</mx:Application>