Revision: 18500
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 1, 2009 04:35 by alexaivars
Initial Code
public function toString():String { var xml:XML = describeType(this); var list:XMLList = xml..accessor.( attribute("access") == "readwrite" || attribute("access") == "readonly") var key:String; var values:Array = []; for each( var item:XML in list) { key = item.attribute("name").toString(); values.push(key + "=" + this[key]); } return xml.attribute("name").toString().split("::")[1] + "[ " + values.join(", ") + " ]"; }
Initial URL
Initial Description
Initial Title
Lazy CLASS toString
Initial Tags
class
Initial Language
ActionScript 3