Skip to main content
Multoman
Inspiring
Jan 14, 2023 5:08 AM UTC
Answered

Publishing a certain part of the video

Is there a command in AS3 the limits the duration of a video in a swf file? I have a scene with a size of 200 frames. When I want to play it in a swf file, I don't need to see the whole scene (200 frames), but a certain part (20-60 frames).

This topic is closed to new replies. Start a new post to keep the conversation going.
n. tilcheff
n. tilcheffCorrect answer
Legend
Jan 14, 2023 5:55 AM UTC

I use a simple label and a 'go to' script which loops the desired section when I press Ctrl+Enter.

Here it is: https://drive.google.com/file/d/1btzJtQwKgHqxLlAt2SoKO1hS3P75HEUb/view?usp=share_link

 

Nick - Character Designer and Animator, Flash user since 1998 | Member of the Flanimate Power Tools team - extensions for character animation

4 replies

n. tilcheff
n. tilcheffCorrect answer
Legend
Jan 14, 2023 5:55 AM UTC

I use a simple label and a 'go to' script which loops the desired section when I press Ctrl+Enter.

Here it is: https://drive.google.com/file/d/1btzJtQwKgHqxLlAt2SoKO1hS3P75HEUb/view?usp=share_link

 

Translate
Nick - Character Designer and Animator, Flash user since 1998 | Member of the Flanimate Power Tools team - extensions for character animation
Multoman
MultomanAuthor
Inspiring
Jan 14, 2023 6:33 AM UTC

Thanks it works. Is there a way to do it also when exporting a swf file, for example using jsfl? Your method works only if you press Ctrl + Enter, and when exporting a swf file, the playback restriction disappears.

Translate
kglad
Community Expert
Community Expert
Jan 14, 2023 2:37 PM UTC

you can make the goto's unconditional, but that makes no sense unless you want to edit your project and export a swf that contains only frames 20-60.

Translate