Home >Software Tutorial >Computer Software >How to set animation in Flash - How to set animation part in Flash without looping

How to set animation in Flash - How to set animation part in Flash without looping

WBOY
WBOYforward
2024-04-10 10:19:11962browse

php editor Xiaoxin is here to introduce a simple method to solve the problem of Flash setting animation not looping. Normally, the Flash animation will automatically loop after it is played, but sometimes we want the animation to play only once and then stop. In this case, we can use some simple code to achieve this. Next, we will introduce in detail how to achieve non-loop animation in Flash settings.

1. After completing the Flash animation, click the New Layer button in the Timeline Panel to create a new layer.

How to set animation in Flash - How to set animation part in Flash without looping

2. Right-click on the last frame of the corresponding animation on the layer, as pointed by the arrow in the picture.

How to set animation in Flash - How to set animation part in Flash without looping

3. Select to insert a blank keyframe.

How to set animation in Flash - How to set animation part in Flash without looping

4. Click Window - Action to open the action panel.

How to set animation in Flash - How to set animation part in Flash without looping

5. Enter stop() in the action panel.

How to set animation in Flash - How to set animation part in Flash without looping How to set animation in Flash - How to set animation part in Flash without looping

6. Finally export the flash animation, just play it once and then stop it.

How to set animation in Flash - How to set animation part in Flash without looping

The above is the detailed content of How to set animation in Flash - How to set animation part in Flash without looping. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:zol.com.cn. If there is any infringement, please contact admin@php.cn delete