2. Click Insert → New Component. In the new component window that opens, set the name to "Moving Little People", check "Movie Clip", and then click "OK".
3. Click File → Import → Import to Library, and then in the open Import to Library window, select the pictures of the little people's walking posture prepared in advance, and then click the "Open" button to import them into the library.
4. In the first frame of layer 1, drag "Result0" from the library to the scene.
5. Click the "New Layer" button on the Timeline to create Layer 2, and then click Insert → Keyframe in the fifth frame of Layer 2, and drag "Result 1" in the library to the scene.
6. According to the same principle, we divide "Result 2", "Result 3" and "Result 4" into three layers, four layers and five layers, and the corresponding frames are 10, 15 and 20 respectively.
7. Finally, adjust the duration of each layer of images. At this point, the movie clip of the mobile villain is completed.
8. Switch to the main scene, make the main scene active, click the Size button in the Properties panel, set the size of the scene to 800*300, and set the background color to black. Click the OK button.
9. Drag the movie clip of "Moving Little Man" from the library to the left outside the scene.
10, and then at the 30th frame of the timeline, click Insert → Timeline → Key Frame, insert a key frame at the 30th frame, and then drag the villain from the left side of the scene to the right side of the scene. At this point, the whole animation setting is completed.
1 1. Right-click between 1 and 30 frames and select "Create tween".
12、
Finally, press the keyboard combination key "CTRLEnter" to test. If you feel that the villain's movements are irregular, you can adjust the distance from 1 to 30 frames slightly until you are satisfied.