Skip to main content
Participant
September 13, 2009
Question

Cannot access vector class in Flex Builder

  • September 13, 2009
  • 1 reply
  • 2062 views

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 has been closed for replies.

1 reply

Inspiring
September 13, 2009

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