Hi
I have a page with a .continue' button on it. There are also two buttons (that sit inside a movie clip)that i want the user to click before they continue. On the actions layer i have set three variables
The two buttons (cp & rela) display some dynamic text and also set the variables accordingly:
If the user tries to click the 'continue' button before clicking the two buttons in the movie clip, another movie clip plays which tells them to clcik both buttons. If they have clicked both buttons, then a third movie clip plays when they click the 'continue' button.
All this works fine - HOWEVER, once the third movie clip has played I want the user to click the continue button again to move to the next page. To do this i put this on the last frame of the third move clip
The code to make all this work is attached to the 'continue' button
OK - the problem is that it nevr goes to the nextFrame() action. Even if the pro variable is set to true it doesn't work. Can any one help ? sorry this is so long....
I have a page with a .continue' button on it. There are also two buttons (that sit inside a movie clip)that i want the user to click before they continue. On the actions layer i have set three variables
Code:
_root.cp = false;
_root.rela = false;
_root.pro = false;
Code:
on(release) {
_root.cp = true ;
CPR_text.text = "text here.";
}
If the user tries to click the 'continue' button before clicking the two buttons in the movie clip, another movie clip plays which tells them to clcik both buttons. If they have clicked both buttons, then a third movie clip plays when they click the 'continue' button.
All this works fine - HOWEVER, once the third movie clip has played I want the user to click the continue button again to move to the next page. To do this i put this on the last frame of the third move clip
Code:
_root.pro == true;
stop();
The code to make all this work is attached to the 'continue' button
Code:
on (release) {
if (_root.cp == false || _root.rela == false) {
warning.play(2);
} else if (_root.cp == true && _root.rela == true) {
process.play(2);
} else if (_root.pro == true) {
nextFrame();
}
}
OK - the problem is that it nevr goes to the nextFrame() action. Even if the pro variable is set to true it doesn't work. Can any one help ? sorry this is so long....