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).
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
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
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.
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.
Copy link to clipboard
Copied
This is good stuff Nick.