com.GameInterface.Utils |
| com. | |
| Functions | |
| ParseHTMLColor | |
| ParseHTMLFont | |
| ParseHTMLFontFinal | |
| CreateResourceString | |
| SetupHtmlHyperLinks | |
| TruncateText | Shortens the mission name if it does not fit inside the window, then appends an ellipsis to the mission name to visually indicate to the user that more text is available. |
| TruncateHTMLText | |
| CreateHTMLString |
public static function TruncateText( textField: TextField ):Void
Shortens the mission name if it does not fit inside the window, then appends an ellipsis to the mission name to visually indicate to the user that more text is available.
| textField | - the textfield to truncate, does only work on textfields where autoSize = true Example: “This is my text” could become “this is m...”. |
public static function ParseHTMLColor( name: String ):flash.geom.ColorTransform
public static function ParseHTMLFont( name: String ):Object
public static function ParseHTMLFontFinal( name: String ):HTMLFont
public static function CreateResourceString( resourceId: com.Utils.ID32 ):String
public static function SetupHtmlHyperLinks( htmlText: String, hyperLinkFunction: String, addFormat: Boolean ):String
Shortens the mission name if it does not fit inside the window, then appends an ellipsis to the mission name to visually indicate to the user that more text is available.
public static function TruncateText( textField: TextField ):Void
public static function TruncateHTMLText( textField: TextField ) : Void
public static function CreateHTMLString( text: String, parameters: Object )