Skip to content

Conversation

@AeroXuk
Copy link
Contributor

@AeroXuk AeroXuk commented Jun 30, 2025

Let me know if you'd like any of these features to be placed behind new CLI arguments. I'm happy to update the PR accordingly.

Changes for the Exporter Tool:

Copy link
Member

@kjarosh kjarosh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you split that PR into multiple ones? A lot of unrelated things are going on here

Comment on lines +55 to +56
/// Number of frames to capture per file.
/// If set to 0, all frames in the SWF's main timeline will be captured
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It makes more sense for me to pass --frames all instead of --frames 0 to capture all frames. It looks non-intuitive

Copy link
Contributor Author

@AeroXuk AeroXuk Jul 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll look into this but I'm still quite new to rust, so not 100% sure what the best way to implement a cli command that takes a string or number would be

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've done some research and hope I've found the right way to implement this.
I need to run a few more tests, but I've raised this as #20930.

Comment on lines +182 to +184
if is_root_movie_clip_at_end(&player) {
break;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That will break some animations, it has to be another CLI option

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made a new cli command and raised under #20929

@AeroXuk
Copy link
Contributor Author

AeroXuk commented Jul 5, 2025

Closing this PR as split into seperate changes as advised.

#20930
#20929
#20927
#20928

@AeroXuk AeroXuk closed this Jul 5, 2025
@AeroXuk AeroXuk deleted the exporter_all_frames branch August 10, 2025 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-other Area: Not covered by other area labels exporter Issues related to the exporter tool T-feature Type: New Feature (that Flash doesn't have)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants