Tuesday 18 December 2012

Week 12

Drag and Drop--coordinates
To develop a drag and drop coordinates,, we should create the following steps:
1. The circle and rectangle on the left side are movie clip symbols while boyh rectangles on the right side are movie symbols. The Next is a button symbols.
2. Creating a movie symbol:
a.Create a movie symbol by clicking at Insert>New Symbol and select Movie clip
b. draw a rectangle in the first frame of movie clip
c. Add a keyframe in frame 2 by press F6 and add stop action script on the frame.
d. Add a keyframe in frame 2 by press F6 and add stop action script on the frame.
e. add also a red line as followings in frame 2 in movie clip timeline.
f. Go back to your (Scene 1)
3. Open library and drag place movie clip into stage (in response layer). Rename the instance as box1.
4. Drag place movie clip into the stage for the second time (in respond layer). Rename the instance as box2.
5. Create a movie clip symbol and draw a rectangle and name it as rec. Create another movie clip symbol and name it as circle.
6. drag both movie clips on the stage (in the same layer).
7. In layer 5, insert stop action script.
8. Click at circle symbol in circle layer and add the following action script.
9. Click at rectanglesymbol in circle layer and add the following action script.
10. for the Next button , also insert action script..


No comments:

Post a Comment