APPS 4: TYPES OF INTERACTION
MULTIPLE
CHOICE QUESTION
Steps:
1.
Open a new file
2.
Named layer 1 as question
3.
Click text tool-->choose static text-->type the question
4.
Insert new layer-->named as button
5.
Create circle shape by using oval tool-->colored it-->resize it
6.
Type A on top of the button
7.
Select whole button-->modify-->convert to symbol-->named
it-->choose button-->OK
8.
Repeat step 5-7 to create button B, C and D
9.
Arrange the button
10.
Type the four answers.
11.
Insert new layer-->named as respon
12.
Put dynamic text-->type respon as variable
13.
Insert another new layer-->named as action
14.
Right click-->choose action-->type the action script:
stop();
var
respon;
respon=""
15.
Right click at the correct answer-->choose action-->type the action
script:
On
(release){
respon = "Congrates. Your
answer is correct";
}
16.
Close action window.
17.
Right click at the wrong answer-->choose action-->type the action script:
on(release){
respon = "Sorry. Your answer is
incorrect";
}
18.
Close action window.
19.
Repeat step 17-18 for the next two button (wrong answer)
20.
ctrl+enter to test the movie
21.
Save the file
click on the image to see the exercise