BChadwick619
05-02-2007, 10:24 PM
Hi I am new to working with combo box's in Flash. Right now I am trying to take the data from a combo box and put it into an action script line, and I dont know if this can be done.
So lets say I have a combo box named: myCombo with the data: dog, cat, fish. When someone selects fish on the combo box I want to load fish into a url string in action script on a button in Flash like:
on (release) {
//Goto Webpage Behavior
getURL("/inventory/search.php/ID_animal/TYPE_"+ myCombo.value,"_self");
//End Behavior
}
So that the value of myCombo is placed into that URL line and then goes to that URL with the fish type selected.
so the end url will look like /inventory/search.php/ID_animal/TYPE_fish/
I know this is very vague and probably hard to understand, I just can't figure out how to post this data from a combo box into an action script.
So lets say I have a combo box named: myCombo with the data: dog, cat, fish. When someone selects fish on the combo box I want to load fish into a url string in action script on a button in Flash like:
on (release) {
//Goto Webpage Behavior
getURL("/inventory/search.php/ID_animal/TYPE_"+ myCombo.value,"_self");
//End Behavior
}
So that the value of myCombo is placed into that URL line and then goes to that URL with the fish type selected.
so the end url will look like /inventory/search.php/ID_animal/TYPE_fish/
I know this is very vague and probably hard to understand, I just can't figure out how to post this data from a combo box into an action script.