I am using Flash CS5 on an iMAC, running OSX 10.6.
I created a file that uses a Combobox on the first frame, and I would like to connect the buttons to go to and stop/play on multiple labels. Can anyone please show me how to do this? I would be most grateful.
Many thanks in advance,
What you can do is assign the frame labels as the data element of the combobox entries and then use an Event.CHANGE event listener to call a function that uses the combobox's selectedItem.data properties to gotoAndStop(data).
You should look up the ComboBox component in the help documentation and become familiar with all of its properties methods and events. THis will make it easier for you to understand the tool you want to implement.
I was able to assign the Google button to open Google.com, with the following code, but this code is different from going to a label. Could you show me what the code should look like?
if (mylist.selectedItem.label == "google")
var request:URLRequest = new URLRequest("http://www.google.com/")