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!
Start Drag ("Star1", lockcenter)
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)
Go to and Play (2)
|» Level Advanced|
Rating: 8 Votes: 469
|No information about the author has been provided|
|Download the files used in this tutorial.|
|Download (46 kb)|
|More help? Search our boards for quick answers!|