public static function clone(source:Object):Object
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Clone the content of an array
Parameters
| source:Object — a The array to clone
|
Returns
| Object — a new array cloned
|
public static function cloneArray(a:Array):Array
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Clone the content of an array
Parameters
| a:Array — a The array to clone
|
Returns
| Array — a new array cloned
|
public static function evalFromTarget(target:Object, toEval:String):Object
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Permit to access value like in as2
sample:
var btnLaunch : DisplayObject = evalFromTarget( this , "mcHeader.btnLaunch") as DisplayObject;
Parameters
| target:Object — target the root path of the first element write in the string in the example mcHeader is a child of this
|
| |
| toEval:String — toEval the path of the element to retrieve
|
Returns
| Object — null if object not find , else the object pointed by toEval
|