• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Publishing a certain part of the video

Contributor ,
Jan 13, 2023 Jan 13, 2023

Copy link to clipboard

Copied

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).

TOPICS
ActionScript , Code

Views

211

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Guru , Jan 13, 2023 Jan 13, 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

 

Votes

Translate

Translate
Guru ,
Jan 13, 2023 Jan 13, 2023

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jan 13, 2023 Jan 13, 2023

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 14, 2023 Jan 14, 2023

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 14, 2023 Jan 14, 2023

Copy link to clipboard

Copied

LATEST

This is good stuff Nick. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines