Hi friends,
Welcome to try this applicaton. The correct answer is carbon monoxide and other hydrocarbons.
The important part to run this application is we need to uncheck the auto kerning in the properties. Kerning controls the spacing between pairs of characters. In flash, many fonts have built-in kerning information. For example, A and V are often closer together than A and D. When we checked auto kern, auto kern will smushes the text together instead of each letter being separate. When we run it, the script unable to detect every single letter that we key in.
Step 1 : The interface is created
Step 2 : The text field is input text field to let the user key in the date and we set it as var "answer."
Step 3 : The the second the text is dynamic text and the var is "respond".
Step 4 : The button is created right click on the the button then key in the action script as:
on (release, keyPress "<Enter>") { if
(answer == "carbon monoxide and other hydrocarbons")
{respon="Correct";
}
else {
respon="Incorrect. Your answer "+answer+
" is incorrect";}
}
Kak Zune, at first i try to input the 'carbon monoxide', then it gives me incorrect...i was like surprise you know, thinking it is not working lagi ka...
ReplyDeletebut then, i thought you might change the answer back to the original one...haha, then i manage to see the 'CORRECT' word...huuuh...
so, perhaps u wanna provide the correct answer, as we don't know any strangers or aliens who suddenly encountered 'ur blog might wanna try use 'ur application...thus they wont frustrated u know...
anyway, this is GREAT...GOOD JOB...
Dear ieja, thx for your comment. Hopefully next week i have time to write something in the blog instead of only put the thing that i have did it.Thx for be our faci in this subject.
ReplyDelete