Hi all,
I’m trying to loop over a list of strings using a for loop…
for(var eventType : String in registeredEventTypes)
{
}
where registeredEventTypes is declared as:
private var registeredEventTypes : List.<String>;
and I’m using #pragma strict.
For some reason it doesn’t like the for loop, and it comes up with the error ‘Cannot convert Object to String’, and I cannot work out why.
Any help would be greatly appreciated.
Wibbs