I am looking for a sample or a tutorial on how to navigate to a frame (label) from a combobox. If I scroll down the labels of the box and clicked on “Fred” I want to go to frame “Fred”.
thanks,tyjn
I am looking for a sample or a tutorial on how to navigate to a frame (label) from a combobox. If I scroll down the labels of the box and clicked on “Fred” I want to go to frame “Fred”.
thanks,tyjn
combobox.onChange = function(){
gotoAndPlay(combobox.selected); //maybe “this.selected”…?
}
This is placed in a frame action or on the combobox itself?
frame, with combobox replaced by your components instance name.
supposing you use MX 04.
Still lost.
My combox instance is “menu” so I have added the folowing to Frame 1 Action Layer.
menu.onChange = function(){
gotoAndPlay(menu.selected);
}
stop();
My “menu” consist of labels and data defined as [Menu.Ten.Twenty]
Frame labels = Menu, Ten, Twenty
I still sit on frame one if I select Ten or Twenty from the combobox.
I can’t seem to get it under the 75757 bytes. Thanks for the offer.
:: Copyright KIRUPA 2024 //--