Each way is different depending on how you create a vector.
- var a : Vector.<int> = new <int>[1,2,3];Â
- var a : Vector.<int> = Vector.<int>([1,2,3]);
- var a : Vector.<int> = new Vector.<int>(); a[0] = 1; a[1] = 2; a[2] = 3;
Number 1.
12 Â findpropstrict Vector //nameIndex = 91
    14  getproperty  Vector //nameIndex = 92
    16  getlex     int //nameIndex = 5
    18  applytype   (1)
    20  pushbyte    3
    22  construct   (1)
    24  dup     Â
    25  pushbyte    0
    27  pushbyte    1
    29  setproperty  null //nameIndex = 93
    31  dup     Â
    32  pushbyte    1
    34  pushbyte    2
    36  setproperty  null //nameIndex = 93
    38  dup     Â
    39  pushbyte    2
    41  pushbyte    3
    43  setproperty  null //nameIndex = 93
    45  coerce     __AS3__.vec::Vector.<int> //nameIndex = 95
    47  setlocal1  Â
Number 2.
    12  getlex     Vector //nameIndex = 91
    14  getlex     int //nameIndex = 5
    16  applytype   (1)
    18  getglobalscope
    19  pushbyte    1
    21  pushbyte    2
    23  pushbyte    3
    25  newarray    [3]
    27  call      (1)
    29  coerce     __AS3__.vec::Vector.<int> //nameIndex = 93
    31  setlocal1  Â
Number 3.
    12  getlex     Vector //nameIndex = 91
    14  getlex     int //nameIndex = 5
    16  applytype   (1)
    18  construct   (0)
    20  coerce     __AS3__.vec::Vector.<int> //nameIndex = 93
    22  setlocal1  Â
    23  getlocal1  Â
    24  pushbyte    0
    26  pushbyte    1
    28  setproperty  null //nameIndex = 94
    30  getlocal1  Â
    31  pushbyte    1
    33  pushbyte    2
    35  setproperty  null //nameIndex = 94
    37  getlocal1  Â
    38  pushbyte    2
    40  pushbyte    3
    42  setproperty  null //nameIndex = 94