globetrotter84
Technical User
I'm relatively new to flash...
I have built a photogallery with 4 different galleries which are on 4 different scenes in my movie (flash mx)
To navagate the scenes I'm using a combobox component with a gotoAndPlay action.
I have set up actionscript to retrieve the name of the scene in the "data" that matches the "label" of the combobox using the change handler...however, when I chose one of the scenes it only moves forward one scene at a time, not matching the label I've chosen.
Each Scene has this actionscript in the first frame.
stop();
function changescene() {
gotoAndPlay("galleries.getSelectedItem().data", "1");
}
('galleries' is the instance name of my combobox, changescene is the instance name of my change handler)
Can anyone offer some advice?
Thank you
I have built a photogallery with 4 different galleries which are on 4 different scenes in my movie (flash mx)
To navagate the scenes I'm using a combobox component with a gotoAndPlay action.
I have set up actionscript to retrieve the name of the scene in the "data" that matches the "label" of the combobox using the change handler...however, when I chose one of the scenes it only moves forward one scene at a time, not matching the label I've chosen.
Each Scene has this actionscript in the first frame.
stop();
function changescene() {
gotoAndPlay("galleries.getSelectedItem().data", "1");
}
('galleries' is the instance name of my combobox, changescene is the instance name of my change handler)
Can anyone offer some advice?
Thank you