Skip to main content
Participant
Sep 13, 2009 9:41 PM UTC
Question

Cannot access vector class in Flex Builder

I've installed sdk 3.4 and it will not compile:

private var result:Vector.<String>

Error:

Description    Resource    Path    Location    Type
1046: Type was not found or was not a compile-time constant: Vector.    odclasses.mxml    test1/src    line 14    Flex Problem

Any idea where i'm going wrong?

Thanks

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Inspiring
Sep 13, 2009 10:33 PM UTC

Make sure you set flash player 10 as the target runtime. I don't think

3.4 should require 10 but I am guessing that's what that error means.

Hth

Sim

Sent from my iPhone

Translate