Tuesday, 23 March 2010

Making the Answers clickable

The next thing I needed to do was to make the possible answers to the question clickable and making it so the user can see that a certain answer has been selected. I created a circle and converted that to a movie clip and named it tick box and put this movie clip at the side of each answer. Inside each movie clip I put the the following actionscript on frame one so the movie would stop on that frame.

I put this actionscript on the second frame also on layer 2. On layer one in the first frame, the tick box is white and on layer one in the second frame the tick box turns to red (below).

Frame 1 - white tick box (above)
Frame 2 - red tick box (below)

No comments:

Post a Comment

Followers