Creating the Candy
Step 6 : Create the Candy
The next step is to create the MC that will collide and trigger the Hit Test Method. The choc movie clip will also have to be draggable so we will need button in this movie clip too (to interact with the mouse and activate the "startDrag" method). To do this create another movie clip like you did before (choose Insert > New Symbol) and name it "choc". A new timeline will appear. On its stage create the candy picture.
Next select Edit > Select All, making sure the whole candy picture has been selected. Then choose Insert > Convert to Symbol. Name the candy "btn_candy" and select the button option. This will convert the candy picture into a button.
| » Level Intermediate |
|
Added: 2000-10-19 Rating: 6 Votes: 74 |
| » Author |
| A flash lover, programmer and one happy guy! |
| » Download |
| Download the files used in this tutorial. |
| Download (19 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!