Public Methods
 FunctionDefined By
  
formatString(format:String, ... args):String
Formats a String in .Net-style, with curly braces ("{0}").
starling.utils
  
getNextPowerOfTwo(number:int):int
Returns the next power of two that is equal to or bigger than the specified number.
starling.utils
Function detail
formatString()function
public function formatString(format:String, ... args):String

Formats a String in .Net-style, with curly braces ("{0}"). Does not support any number formatting options yet.

Parameters

format:String
 
... args

Returns
String
getNextPowerOfTwo()function 
public function getNextPowerOfTwo(number:int):int

Returns the next power of two that is equal to or bigger than the specified number.

Parameters

number:int

Returns
int