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)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||
|