Skip to content

Latest commit

 

History

History
19 lines (19 loc) · 791 Bytes

File metadata and controls

19 lines (19 loc) · 791 Bytes

flashConsole

一个用于flash web的调试工具

这是一个flash web 日志工具

它可以让您像html那样使用console下的例如log()函数来打印变量,并查看它的相关属性。 ————————————————————————————————————————

好了让我们看看怎么使用它

如果您需要打印一个自定义对象,它看起来应该像这样

    Class CustomObjecct
    {
        public var customParam:String = "I'm a custom param";
    }
    Class MainClass
    {
        var customObject:CustomObject = new CustomObject();
        Console.log( customObject );
    }