Friday, 21 October 2011

WEEK 5 : Multiple Choice Question

The next task is about multiple choice question.





STEP 1

1.  Insert the question and answers as below using Text Tool (T)

STEP 2 (To create the buttons for all answers)

  1. Create a new layer and rename it as button.
2.  Click insert ----> new symbol ----> name : buttonA, type : button ----> ok

     3.  Then the new layout appear. 
     4.  Using Oval Tool (O), draw a red circle.
     5.  Using Text Tool (T), write the letter A.

6. Now the A button is done, click Scene 1 to go back to the previous layout.

7.  Drag the A button from library to the button layer.

8.  Right-click ButtonA, then click duplicate
9.  This pop-up will appear. Put name : buttonB and type : button.
10.  double-click on the buttonB



11. This layout will appear. Delete the letter A and replace it with the letter B then go back to the Scene 1
    12.  Repeat the same step until u got all 4 button (A, B, C, D)


STEP 3 (memasukkan action script agar soalan dan jawapan tidak loop)
  1. Create a new layer and rename it as stopQA
  2. Right-click on the frame 45, go to action and put this coding stop();
  3. The purpose of this coding is to avoid the written "question and answer" from looping.
STEP 4 (memasukkan action script stop untuk menentukan jawapan betul atau salah)
  1. Create a new layer and rename it as 'respon'.
  2. Clik on the frame 50, insert a new keyframe or click F6.
  3. Insert 'well done' image that you can download it from google.
  4. Then, clik on the frame 60, insert a new keyframe or click F6.
  5. Insert "inccorrect' image.
  6. Next, create a new layer and rename it as 'stopcorrect'.
  7. On the frame 50, insert action script stop(); to stop the respons.
  8. Then, create a new layer and rename it as 'stopincorrect'.
  9. On the frame 60, insert action script stop(); to stop the respons.
STEP 5 (Memasukkan action script untuk setiap button)
  1.  Right-click on the buttonA, pilih action.
  2. Masukkan coding berikut.

     3.  Repeat this step to other 3 buttons.
     4.  We know the correct answer is B.
     5.  So, in the coding, change the 60 to 50 as the correct respon is in the frame 50.


 STEP 6 (action stop untuk keseluruhan flash file)
  1. Create a new layer and rename it as stop.
  2. On the last frame (frame 65), put action script for stop.
Now, your multiplechoice question is ready to be use.

No comments:

Post a Comment