Packageorg.MARS.util
Classpublic class IOUtil

A useful utility for outputting the text



Public Properties
 PropertyDefined by
  textPanel : TextField
[static] Text panel for the output
IOUtil
Public Methods
 MethodDefined by
  
createTextPanel(caller:Sprite):void
[static] Create the text panel in the caller Sprite object
IOUtil
  
output(object:Object):void
[static] Output the text on to the text panel
IOUtil
Public Constants
 ConstantDefined by
  FRAMERATE : Number = 30
[static] The default framerate of the swf file.
IOUtil
  STAGE_HEIGHT : Number = 600
[static] The default height of the swf file.
IOUtil
  STAGE_WIDTH : Number = 800
[static] The default width of the swf file.
IOUtil
Property detail
textPanelproperty
public static var textPanel:TextField

Text panel for the output

Method detail
createTextPanel()method
public static function createTextPanel(caller:Sprite):void

Create the text panel in the caller Sprite object

Parameters
caller:Sprite
output()method 
public static function output(object:Object):void

Output the text on to the text panel

Parameters
object:Object — - an object to be converted to text and outputted
Constant detail
FRAMERATEconstant
public static const FRAMERATE:Number = 30

The default framerate of the swf file.

STAGE_HEIGHTconstant 
public static const STAGE_HEIGHT:Number = 600

The default height of the swf file.

STAGE_WIDTHconstant 
public static const STAGE_WIDTH:Number = 800

The default width of the swf file.