PDA

View Full Version : if then.....


thirdfloor
06-08-2007, 06:54 PM
Hey,

I am trying to setup an interactive game. When the user selects one of the options it goes to a movie clip to show the results. I want to setup an if then statement so when the user returns to the main menu the option they have already chosen is "x" out.

How would i set that up?

Cota
06-08-2007, 07:55 PM
This is what I would do...Create an Array, when the user selects that option, add its instance name to the array. Then when you go back, have a function that loops through the array and disables all the names in it.