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.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy this password:

* Type or paste password here:

2,918 Spam Comments Blocked so far by Spam Free Wordpress

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>