I searched it for while but didn\'t find anything like printf in Action Script.
That makes it a little difficult to generate formated strings.
think you might be looking for StringUtil.substitute()
take a look here: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/utils/StringUtil.html#substitute