Let's say I have ten widgets that have ten items that need to be turned off. What am I doing wrong here?
The trace returns the correct value yet the loop doesn't turn the ten items off. Why? :confused:Code:for(i=1;i<=10;i++){
var tempWidget = ["widget0" + i];
trace(tempWidget);
tempWidget.item._visible=false;
}
