Log

class haxe.LogAvailable in flash8, flash, neko, js, php, cpp, cs, java static dynamic function clear() : VoidAvailable in flash8, flash, js
static dynamic function setColor( rgb : Int ) : VoidAvailable in flash8, flash[doc s_setColor]
Sets the color of the field that shows the log messages. The color is reseted to black (0x000000) after a Log.clear call.

Example:

Log.setColor(0xFFFFFF);
Log.trace("Some white text");
Log.clear();
Log.trace("Some black text");
Log.setColor(0xFFFFFF);
Log.trace("Some white text");

[/doc s_setColor]

static dynamic function trace( v : Dynamic, ?infos : PosInfos ) : Void
version #16352, modified 2013-02-24 23:51:35 by api
0 comment