Combobox loads variable in URL?
I need to load a variable from a Combobox into the tail end of a URL...ie:
(script is on same layer as combobox)
on (change) {
loadMovie("http://somewebsite.com/flash/636050/" + myComboBox.selectedItem.data, "1");
}
The data set loaded into the combobox is the filename....ie:
black.swf
I load external swf's into the various levels of this app.
Can't get it to work. Am I connecting the variable to the URL in the wrong way?
I've also tryed putting the entire path/movie name url in the dataset but it doesn't work either.......
Any thoughts?