In Actionscript, if you subclass Object, and you want a default string representation of your subclass, you just implement the method ‘toString’. For example the following: [sourcecode language=”actionscript3″] package { public class Thing { public var name:String; public function toString()…
You must be logged in to post a comment.