|
||||||||||||||
. . . . . |
Flash MX Fill the Blank Quiz for Interaction Learning
This tutorial is for learning how to do the Fill in the answer type of quizzes for Interaction Learning movies in Flash 5 and Flash MX Pro. First thing to do is make a static text field with the question in it.
on (release){
if(_root.input == "Canberra" || _root.input == "canberra")
{
_root.comment = "Correct";
}
else
{
_root.comment = "Wrong";
}
}
Flash Tutorials in Video Format -
Watch them now at LearnFlash.com The punters put their answer in the input text field and the code in the button determines whether the answer is correct and puts feedback into the comment field. Addendum 15th September, 2003
if(_root.input_txt.text=="Canberra){
_root.comment_txt.text = "Correct";
}
A haah .. BUT If _root.instanceName.text equals a number instead of words you may get an error.
But be aware of that.. Test it out and let me know! Thanks to Paul for pointing out to me the ambiguities in this tutorial. Hopefully it will now be a lot clearer. Flash MX Pro - The software that makes it all possible! |
|
||||||||||||
|
. | Home | Flash MX | Actionscript 2.0 | Flash 3D | Flash 8 | Flash Database | Flash Mobile | Flash CS3 | Java For Kids | Video Course | General Video | Photoshop | Web Design | Digital Photography | Games | free backgrounds | Resume | Streaming Video | Students Work | Links | Contact me | sitemap | reviews | . . |
||||||||||||||