Just got hit with this error again and its a silly oversight but blogging it may be of some help to someone. If your compiling your Flex application using ANT and you get the following compile-time constant error:
[compc] Error: Type was not found or was not a compile-time constant: Vector.
Then ensure you have specified a SWF version of 10 in your target-player param i.e.
build.properties
swf.version = 10.0.0
build.xml
target-player="${swf.version}"


One Trackback
[...] This post was mentioned on Twitter by HowDo.us, Simon Bailey. Simon Bailey said: Blog to Twitter update – newtriks published a new post: ANT Compile-Time Constant Error: Vector http://cli.gs/QAV1e [...]