To create this, you first have to create three layers, one for the content, one for the two buttons, and one for the action script. First, create the two buttons with an name in the properties. Then add the two animations, one at frame 1, the other at frame 10. I used the car symbols from my lab 23. So one is the front and one the the back of the car, and since it's a bit dull, I made a extra layer of my background, and made the cars rotate. Then on the action layer. we open the action window to type our script in. We have learned that the action scripts are in a order of object.method(argument), but we have not yet learn exactly how to write the code we are using, so all we had to do is to copy it from the handout given by the teacher and change the object name to whatever we named it.http://techteach.us/DD2015/HJiahua/Labs/Lab25/LB25_Jiahua_DD.html
No comments:
Post a Comment