Question
Help Needed for Beginner
HI
I am trying to create a whole simulation and im having problems wiht some aspects.
One is with a measuremnet swf i have. Basically it plays a video and the user has to enter the correct value into an input text area . I want it to give them three attempts and then it loads an external swf with some help guides and tips.
MY question is, how do i get it to count three incorrect entries and then close itself down and load another swf.
My code so far (whic works bar the three attempts) is
stop();
_root.submit_micrometer_btn.onRelease=function() {
if (_root.micrometer_answer_txt.text=="9.18") {
_root.unloadMovie();
} else {_root.response.text="Incorrect Answer Please Try Again"
}
};
PLease help!
Thank you
Becki
I am trying to create a whole simulation and im having problems wiht some aspects.
One is with a measuremnet swf i have. Basically it plays a video and the user has to enter the correct value into an input text area . I want it to give them three attempts and then it loads an external swf with some help guides and tips.
MY question is, how do i get it to count three incorrect entries and then close itself down and load another swf.
My code so far (whic works bar the three attempts) is
stop();
_root.submit_micrometer_btn.onRelease=function() {
if (_root.micrometer_answer_txt.text=="9.18") {
_root.unloadMovie();
} else {_root.response.text="Incorrect Answer Please Try Again"
}
};
PLease help!
Thank you
Becki