Actionscript Q
Actionscript Q
- Started
- Last post
- 2 Responses
- drbyers
Does anyone know how I might be able to tell a button with its own timeline how to control another button at the same time?
I have three drop down menu buttons. Each has an animated open and closed state.
Say one button's menu is already open. I want to be able to automatically close that menu should I enter one of the other two buttons.
thanks ahead of time.
- ganon0
you would need to give the buttons and/or menus instance names (myBttn01, myBttn02, myBttn03)...put the actions in a frame in the _root time line...you can then talk to the other bttns/timelines of those bttns...if menu 1 was open and you clicked on bttn02...:
this.myBttn02.onRelease = function() {
this.myBttn01 //close action
this.myMenu02 //open action
}
- drbyers0
thanx dood.