hi everyone,
I am new to Actionscript coding and I want a combobox and button to work like the following:
I have a combobox (with a couple of items listed in it, let’s just say it has cars, pets, houses) and 2 buttons (let’s just say they are called load 1 and load 2).
When the user selects the cars from the combobox, and clicks load 1 (button), it loads a certain code (lets just call it code 1). When the user clicks load 2 (with is still selected in the combobox), it loads a different code (called code 2).
However, when the user selects pets from the combobox, and clicks the button load 1, the code loaded isn’t code 1 but let’s just say code 3. When the user clicks load 2, the code loaded is code 4. This goes on and on for the rest of the items in the combobox.
Is there a way I can do this in AS2 (or AS3)?
Any help will be appreciated
Thx in advance
WolfFlare