Help with variables etc please! (MX 2004)

Hi all

I’m extremely new to all this Actionscript thing, but am enjoying trying to get things working!

Please can someone help me with a problem I can’t seem to solve?

I have created a tool where the user makes two selections (from 2 seperate comboboxes). I want the selections to be made into variables that can be concatinated when the “Go!” button is pressed, thus taking the user to the required frame.

In other words: If the user selects “3-7” years in the first combobox, and “low-medium” in the second, when they click the “Go!” button, I would like them to be taken to a frame called something like “3-7low-medium”

I’m sure this is possible, but so far I’ve drawn a blank!

Does anyone have any ideas?

Thank you in advance…
G


    
  _root.myButton.onPress=function(){
   
                    _root.gotoAndStop(myVar1+myVar2);
 
  }
 
 

place this code on your main timeline…

and please before asking questions please do some research on your own…
read tutorials or flash help… you cant expect other people do everything for you… :sure: