public function TextFormat(font:String = null, size:Object = null, color:Object = null, bold:Object = null, italic:Object = null, underline:Object = null, url:String = null, target:String = null, align:String = null, leftMargin:Object = null, rightMargin:Object = null, indent:Object = null, leading:Object = null)
Just another 13 argument constructor from Adobe's native Actionscript API. I dub thee an 'Adobe Constructor'.
As much as I love remembering the order of all 13 arguments (btw there's no defence for a 13 argument anything), I'm stumped as to why a language that implements ECMA-262 doesn't take a leaf out of Javascript/Ruby and go for parameter hashes as object literals.
My wrapper for the above now has client code like:
Text.Format({size:6,font:'Arial',align:'left'});
Obviously.