# Using vectors (typed arrays) with Flex 3?

**URL:** <https://forum.kirupa.com/t/using-vectors-typed-arrays-with-flex-3/274588>\
**Category:** flash\
**Created:** [October 31, 2008, 7:03pm UTC](https://forum.kirupa.com/t/using-vectors-typed-arrays-with-flex-3/274588 "2008-10-31T19:03:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![somerandomdude](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@somerandomdude](https://forum.kirupa.com/u/somerandomdude)\
**Post date:** [October 31, 2008, 7:03pm UTC](https://forum.kirupa.com/t/using-vectors-typed-arrays-with-flex-3/274588/1 "2008-10-31T19:03:48Z")

</div>

I’ve downloaded Flex 3 and got it working, and I’m trying to create a vector array of integers using the line of code below, but when i compile I get an error highlighting “Vector” and saying it’s not a compile time constant. I’m a total newb to Flex (i only got it working thanks to senoculars tutorial), so I’m wondering if there’s some extra thing i have to download to use Flash Player 10 stuff like vectors? Or is there something else I’m doing wrong? I downloaded Flex 3 from adobe’s website fairly recently…

```auto
var thing:Vector.<int>=new Vector.<int>;

```

EDIT: Btw, i’m using the Flex SDK, NOT Flex Builder
