You'll convert the tire on the Stage into a movie clip.
1.
|
With the Selection tool, click the tire on the Stage to select it and select Modify > Convert to Symbol.
|
2.
|
In the Convert to Symbol dialog box, enter MCWheel as the name, and select MovieClip as the behavior.
|
3.
|
In the Registration grid, this time select the center square as the registration point, so the center of the movie clip becomes the axis around which the symbol rotates. Click OK.
The image on the Stage is now an instance of the MCWheel symbol in the library. |
Assign an instance name to the movie clip
To refer to an instance in ActionScript, and as a general best practice, always assign instance names to buttons and movie clip symbols. (You cannot assign an instance name to a graphic symbol.)
Select MCWheel instance on the Stage
In the Property inspector
Enter
wheel_mc
in the Instance Name text box.
by
updated