| Package | flashx.textLayout.compose |
| Interface | public interface ISWFContext |
| Implementors | TextContainerManager |
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
There are two reasons for an application to use this interface to control TextLine creation:
TextBlock.recreateTextLine()
instead of TextBlock.createTextLine() when TLF recognizes that a TextLine is extant.Your application may have additional TextLine instances that can be reused. To manually reuse existing TextLine instances:
TextBlock.createTextLine(), thenTextBlock.recreateTextLine() with the extant TextLine instance instead
of TextBlock.createTextLine().Please note, however, that the TextBlock.recreateTextLine() is available
only in Flash Player 10.1 and later.
See also
| Method | Defined By | ||
|---|---|---|---|
callInContext(fn:Function, thisArg:Object, argArray:Array, returns:Boolean = true):*
A way to call a method in a client controlled context. | ISWFContext | ||
| callInContext | () | method |
public function callInContext(fn:Function, thisArg:Object, argArray:Array, returns:Boolean = true):*| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
A way to call a method in a client controlled context.
Parameters
fn:Function — The function or method to call
| |
thisArg:Object — The this pointer for the function
| |
argArray:Array — The arguments for the function
| |
returns:Boolean (default = true) — If true, the function returns a value
|
* — Whatever the function returns, if anything.
|
See also