Skip to content

Conversation

Geokureli
Copy link
Contributor

@Geokureli Geokureli commented Feb 18, 2022

I tried out openfl-player and found some issues with runtime Swf parsing and swflite. these were the changes needed to get the project working.

I couldn't get any swfs to render on html5, except with swflite. the only swf that worked on html5 with swflite was badgerbadger, and my own custom swf. @barisyild mentioned they couldn't get as2 swfs to work with swflite. Any leads on why html5 doesn't work without swflite would be greatly appreciated.

I'm not sure this is the best way to handle, things. Specifically MovieClip.setChildField and SpriteSymbol.__setConstructor. The use of __constructor here seems odd and dangerous, to begin with. why not just call __constructor on the created movieclip in __createObject?

@Geokureli Geokureli marked this pull request as draft March 5, 2022 01:08
@Geokureli
Copy link
Contributor Author

This isn't a real PR, it's used for swfs in Funkin, I do recommend applying similar fixes to swf, but that should be done by someone more familiar with the lib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant