[static]
Returns a formatted date and time string using the provided date and time formatting styles, according to the conventions of the specified locale.
public static function parseNumber(numberStr:String, locale:String):Number
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Returns a number derived from the passed in string according to the conventions of the specified locale.
It is assumed that the passed in string had been formatted using the same locale passed to this method.
Parameters
numberStr:String — Formatted string representation of a number.
locale:String — Specifies the locale to use when parsing the number. The default is LocaleID.DEFAULT.
public static function textDirection(host:INavigatorHost, str:String):String
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Returns a text direction (left to right or right to left) based on a text string.
The text direction is based on the first character in the string.
If the string is empty, then the direction of the locale is used.
Parameters
host:INavigatorHost — The INavigator instance that hosts the PDF portfolio navigator.
str:String — The text string that should be displayed either left to right or right to left.