Skip to main content
Multoman
Inspiring
January 14, 2023
Answered

Publishing a certain part of the video

  • January 14, 2023
  • 1 reply
  • 445 views

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 has been closed for replies.
Correct answer n. tilcheff

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

 

1 reply

n. tilcheff
n. tilcheffCorrect answer
Legend
January 14, 2023

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
Multoman
MultomanAuthor
Inspiring
January 14, 2023

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.

kglad
Community Expert
Community Expert
January 14, 2023

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.