var tmp:String = "tabnav1";

[tmp].selectedIndex = 0;


Im trying to use a string to reference an item but the compiler wont
allow the brackets, i remember Tracy telling me to reference a dynamic
variable use brackets? 

my compiler says

error 1084: Syntax error: expecting identifier before dot.

but im sure this is correct 

Reply via email to