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)
- 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)
- Create a new layer and rename it as stopQA
- Right-click on the frame 45, go to action and put this coding stop();
- The purpose of this coding is to avoid the written "question and answer" from looping.
- Create a new layer and rename it as 'respon'.
- Clik on the frame 50, insert a new keyframe or click F6.
- Insert 'well done' image that you can download it from google.
- Then, clik on the frame 60, insert a new keyframe or click F6.
- Insert "inccorrect' image.
- Next, create a new layer and rename it as 'stopcorrect'.
- On the frame 50, insert action script stop(); to stop the respons.
- Then, create a new layer and rename it as 'stopincorrect'.
- On the frame 60, insert action script stop(); to stop the respons.
- Right-click on the buttonA, pilih action.
- 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)
- Create a new layer and rename it as stop.
- On the last frame (frame 65), put action script for stop.
No comments:
Post a Comment