I'm trying to use Vector. in a Flash Professional Project, Person being a custom class. Eclipse keep saying it cannot find the type in brackets, even if I try with basic types like int or String:
public interface IRenderer
{
function init(persons : Vector.<int>) : void;
function render() : void;
}
Type 1046: Type was not found or was not a compile-time constant: int.
I'm working with:
- Flex 4.1 SDK
- Flash Builder 4.0.1 (I've just downloaded it today from adobe.com...)
- Flash Player version = 10.0.45
I've tried to add the Flex SDK in the Build Path but it doesn't work either.