1 Attachment(s)
check what button was pressed
Hy everybody!
I only have one question about variables to all of you:
OK, I have two buttons and after one of them was pressed, an animation where something happens(still the same,no dificulty if 1 or 2 was pressed), than the movie stops and another movie should load,here it should be checked if button 1 or 2 was pressed and movie 1 or 2 should load.
PLEASE HELP ME and write me exactly what i have got to do, what scripts and what ever because i'm new to variables.
The whole problem is in attachement(-;
Greetings, gmiadlicha :rolleyes:
Re: check what button was pressed
Quote:
Originally posted by gmiadlicha
PLEASE HELP ME and write me exactly what i have got to do, what scripts and what ever because i'm new to variables.
:
To do that would be a disservice to you.
Based on your description you could add a scene to the end of the first movie that has one script action that checks the myvar.
something like
PHP Code:
if (myvar==1){
loadMovie("movieone.swf");
}else{
loadMovie("movietwo.swf");
}