# A question about Vector type

**URL:** <https://forum.kirupa.com/t/a-question-about-vector-type/292860>\
**Category:** flash\
**Created:** [July 20, 2009, 4:21pm UTC](https://forum.kirupa.com/t/a-question-about-vector-type/292860 "2009-07-20T16:21:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bonnieraymond](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@bonnieraymond](https://forum.kirupa.com/u/bonnieraymond)\
**Post date:** [July 20, 2009, 4:21pm UTC](https://forum.kirupa.com/t/a-question-about-vector-type/292860/1 "2009-07-20T16:21:26Z")

</div>

hi,

is there any short way to init Vector items like initing Array? Like this:

```auto

var A:Array = [0, 1, 2, 3]; // great way to init array items
var V:Vector.<int> = new Vector.<int>() = [0, 1, 2, 3] // how to init items here
// to avoid pushing every items:
V.push(0);
V.push(1);
V.push(2);
V.push(3);

```

thanks!
