Hi there, i have the following code in a class:
[font=Courier New]var stringComparer:String = Config.DisabledPages[index][/font]
The part “Config.DisabledPages[index]” is a direct reference to a static attribute in the class “Config”.
My problem: I traced the datatype of the static property like this:
*[font=Courier New]typeof(Config.DisabledPages[index]);
[/font]*It answered that it is of type Object, so not string. But Flash doesn’t produce an error that there is a wrong datatype being used foor stringComparer.
Probably a simple question, but I honestly dont know why it doenst work…