mtran
01-19-2007, 08:49 AM
I have a bunch of buttons, and want to set the visibility off for all initially. All btn are on stage and named accordingly.
I put all in an array, but perhaps my loop didn't work. What's wrong?
menu_array = new Array("dinner_btn","lunch_btn","wine_btn","rollmenu_btn");
for (i=0; i<menu_array.length; i++){
menu_array[i]._visible = false;}
I trace menu_array and it displays the list ok.
I put all in an array, but perhaps my loop didn't work. What's wrong?
menu_array = new Array("dinner_btn","lunch_btn","wine_btn","rollmenu_btn");
for (i=0; i<menu_array.length; i++){
menu_array[i]._visible = false;}
I trace menu_array and it displays the list ok.