Ok, I need to create a drop down menu. I’ve looked at a couple in the tutorials section, but the xml one is a bit too advance. I am mainly having problems with creating the individual buttons in it, I can probably figure out the rest. I have a movie clip from the Library called Button, and a dynamic textbox in it called btn_name. I want to place the buttons on the stage (stacked Vertically) and give the textbox the name of the button. This code works for creating one, but I can’t quite figure out how to keep attaching the rest. Please let me know if I’m on the right track, if not please point me in the right direction. Thanks.
buttonNames = ["Auditorium", "Office"]
function createMenu() {
for (i=0; i<1; i++) {
attachMovie("Button", buttonNames*, i);
Auditorium.btn_name.text = buttonNames*; // want to be able to say something like: buttonNames*.btn_name....but that doesnt' work
}
}