If you get the following compilation error in Flex Builder 3, ’1046: Type was not found or was not a compile-time constant: Vector.’, then it’s probably a lie!

This error actually comes from the type being used for the Vector, and not the Vector itself. For example, if you have the following:

var dataSets:Vector.<Entity>;

Then if you don’t have the correct import reference for the Entity class, then it will give the ‘Type was not found’ compilation error.

 

Comments are closed.