I need to assign a movie clip reference using the [] operators
I can do it in one assignation but not two, please help example below:
[COLOR=RoyalBlue]for (var i = 0; i<current_array.length; i++) {
var this_btn_name:String = “btn_”+current_array*;
menu_open.empty_mc*[this_btn_name].btn_index = this_btn_name;
menu_open.empty_mc*["."+this.btn_index].onRelease = function() {
// do frame change etc
}
}[/COLOR]
the name of the button index references to names 1-4 etc so that it can pass that data on to a switch statement.