Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
Circle Collisions
Author: Flash Junkie
| Website: http://www.flashkit.com |
Defining the Colour
Once back in the main timeline you will have to create another movie clip, this time called circle. This will be placed on the circle layer of your main timeline. The circle works using 3 frames. The layer art contains an instance of circle_art.
The actions in the first frame are used to define the colour of the circle. This is then used in the second frame to create circles with different colours. The variable 'n' used in the second frame corresponds to the name of the circle and, amoung other things, the frame number in the movie clip circle_art and thus the colour.
Comment: ----------------------------------------------
Comment: pick a color
Comment: ----------------------------------------------
Begin Tell Target ("color")
Go to and Stop (GetProperty("../",_name))
End Tell Target
| » Level Advanced |
|
|
Added: : 2000-05-02
Rating: 6.80 Votes: 177
Hits: 23053
|
| » Author |
|
Flashjunkie is a self-professed obsessive addict of life. Due to the highly artistic nature required of an Art Director for an Ad agency, he took up Flash to add some math to his diet.
|
| » Download |
|
Download the files used in this tutorial.
|
|
Download (19 kb)
|
|
Get conversion and unzipping tools
for PC and Mac here!
|
| » Forums |
|
More help? Search our boards for quick answers!
|
|
Please rate this tutorial, 10 is the top rating, you can also click the
comments link to read/write a review.
|
|
|