A workaround class for a bug with Flash 10+
Vector.<*>
types:
getDefinitionByName("__AS3__.vec::Vector.<*>")
throws an error...
unqualifiedVectorClass:Class [read-only]
The Vector.<*> class. Will be null if the Flash VM
isn't a 10+ VM.
Implementation
public static function get unqualifiedVectorClass():Class
public static function isUnqualifiedVectorClassName(name:String):Boolean
Tells if the supplied class name denotes a unqualified Vector
class name.
Parameters
| name:String — teh class name to be test.
|
Returns
| Boolean — true if the name parameter denotes a unqualified
Vector class name, false otherwise.
|
public static function newUnqualifiedVector(length:uint = 0, fixed:Boolean = false):Object
Constructs a new Vector.<*> instance. Will be null
if the current Flash VM isn't a 10+ VM.
Parameters
| length:uint (default = 0) — the length of the vector.
|
| |
| fixed:Boolean (default = false) — Indicates whether the length property of the Vector can be changed.
|
Returns
| Object — a new Vector.<*> instance, or null if
the current Flash VM isn't a 10+ VM.
|