How do I get the var sliderthumb to replace [sliderthumb] in my code below? Thanks for your help.
var sliderthumb:String = "foo";
function natureThumb(){
Sprite(naturepage.sliders.[sliderthumb].getChildAt(1)).height = Sprite(naturepage.sliders.[sliderthumb].getChildAt(1)).width = 65;
}
Just remove the dot.