I am building a flash, one of those dress-up game that some of you might know. Well, in order to do something, I need to know how If - Then statements work in flash. I'm using Flash CS3, actionscript 2.0
Specifically, I need so that when one image is visible, and a button is clicked, then another image will appear. If the first image is not visible, and this button is clicked, then either nothing will appear or something else will appear.
To give you an idea of what I'm doing, I'm doing a 'create a griffin' game. The griffin will have different wing styles available, as well as markings. Say the user clicks a certain marking, like spots. Then they add the wings. I would want spots visible on the wings. Then I change the wings again, and the spots would change. If I got rid of the wings completely, then the spots on the wing would vanish.
Basically I need images able to change depending on what else is visible and what button is clicked. Sorry if that is sort of confusing xD;
If you could explain to me how to do this, that would be absolutely great. If you need my explanation to be a bit clearer, just ask. I tried to make it as clear as possible.
Specifically, I need so that when one image is visible, and a button is clicked, then another image will appear. If the first image is not visible, and this button is clicked, then either nothing will appear or something else will appear.
To give you an idea of what I'm doing, I'm doing a 'create a griffin' game. The griffin will have different wing styles available, as well as markings. Say the user clicks a certain marking, like spots. Then they add the wings. I would want spots visible on the wings. Then I change the wings again, and the spots would change. If I got rid of the wings completely, then the spots on the wing would vanish.
Basically I need images able to change depending on what else is visible and what button is clicked. Sorry if that is sort of confusing xD;
If you could explain to me how to do this, that would be absolutely great. If you need my explanation to be a bit clearer, just ask. I tried to make it as clear as possible.