Search tutorials
Adding the Actions (cont.)
Double-click each of the 3 keyframes in turn to bring up their properties and put in the ActionScript shown on the right.
It is important in doing this that you make correct use of the 'abc/=' button in the Actions tab: don't get your Expressions mixed up with your String Literals!
KeyFrame 1:
Start Drag ("Star1", lockcenter)
KeyFrame 2:
Set Variable: "CopyCount" = CopyCount+1
If (CopyCount>10)
Set Variable: "CopyCount" = 1
End If
Duplicate Movie Clip ("Star1", "Star" & CopyCount, CopyCount)
Set Property ("Star" & CopyCount, Rotation) = Random(72)
KeyFrame 3:
Go to and Play (2)
| » Level Advanced |
|
Added: 1999-12-20 Rating: 8 Votes: 469 |
| » Author |
| No information about the author has been provided |
| » Download |
| Download the files used in this tutorial. |
| Download (46 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!