Wednesday, 24 March 2010

Setting the Correct Answer

The next thing I did was set a correct answer for the question so when the user selects their answer and then clicks next, it tells them whether they have got the question wrong or right.

Next I put the following actionscript onto the tick box movieclips that were next to the incorrect answers.


The tick box movie clip next to the correct answer had the same as the above plus a bit extra at the end.
The next bit of actionscript is on the 'ok' movieclip.

The next bit of actionscript tells the movieclip what text to display if the user is correct and if the user is incorrect.

No comments:

Post a Comment

Followers