-
-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AVM2 - Stuck on loading screen waiting for external MP3 Sound #8932
Comments
Hi, can you please provide a link to the original URL of the SWF file? In Flash Player, it actually tries to load all of the MP3 files from mspaintadventures.com, so even if Ruffle did have the necessary features implemented, CORS restrictions would prevent the content from working on your website. |
Oh, I found it: https://www.homestuck.com/story/2792
I would expect to see an error about unimplemented functions. I guess it's not even getting to the part where it tries to load the external files? |
The original host of the swf can be found here: The whole mspaintadventures.com domain is somewhat deprecated though, so maybe this particular flash can't be made to work even with the missing Sound functionally, unless #1486 is ever implemented.
I think so, from what I saw of the code the Sound constructor seems to just ignore the url provided as an argument entirely. |
The missing ruffle features have now been implemented, it is now ONLY cors issues that are preventing the MP3s from loading in this flash (leading to getting stuck on the loading screen).
|
Actually there is definitely some other problem besides CORS. The game does not work in the Ruffle desktop app or the extension's internal player page, neither of which are subject to CORS restrictions. |
More information on what the current problem is - The current problem is that |
Describe the bug
This flash ("Alterniabound") contains a preloader screen that tries to wait for both the main swf to load, as well as seven external MP3 files. It waits for a ProgressEvent for all eight files, but only the swf sends one, so loader progress stays stuck at 12.5% forever.
For the loader to work, I think there's still a fair bit of missing AVM2/AS3 Sound functionality needed... right now I don't think the Sound constructor even tries to load the MP3, and I don't think it would trigger a progress event even if it did.
The script that triggers this issue is below:
Expected behavior
Ruffle loads the MP3, notifies the preloader script about them being loaded, and we make it past the preloader screen.
Affected platform
Desktop app
Operating system
Windows 11
Browser
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: