使用方法:
1.下载connector (XrayLogger_as3_alpha.zip)
http://svn1.cvsdude.com/osflash/xray/downloads/connector/flex/XrayLogger_as3_alpha.zip
2.下载Interface (Xray.zip)
http://www.rockonflash.com/xray/flex/Xray.zip
3.引用: import com.blitzagency.xray.logger.XrayLog;
private var log:XrayLog = new XrayLog();
4.输出调试信息.log.info('调试信息');
eg:
private var log:XrayLog = new XrayLog();
private function testClassLoad():void{
var str:String = "mx.controls.Button";
log.debug("dddd这里",str);
}
5.打开interface Xray.swf(注意:一定要勾选上Show Output)
6.运行项目,开始调试
[转:http://www.duzengqiang.com/blog/catalog.asp?tags=Xray]