Skip to content
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

Sydney's Siberia: Softlock after trying to load a second image #11882

Closed
n0samu opened this issue Jul 4, 2023 · 0 comments · Fixed by #16937
Closed

Sydney's Siberia: Softlock after trying to load a second image #11882

n0samu opened this issue Jul 4, 2023 · 0 comments · Fixed by #16937
Labels
A-avm2 Area: AVM2 (ActionScript 3) bug Something isn't working

Comments

@n0samu
Copy link
Member

n0samu commented Jul 4, 2023

Describe the bug

Link to SWF: http://www.secrettechnology.com/sydney/siberia.swf
(Note: This is a multiasset site, so the SWF needs to be loaded via its URL)

In sydney's siberia, you're supposed to be able to click to zoom until you load and enter a new image, and repeat the process as many times as you want. In Ruffle, the initial image loads fine, but when trying to load an image by zooming in, a softlock occurs (the loading never completes).

The code reuses the same AS Loader object named imageLoader. That Loader has an event listener attached to it that's supposed to fire whenever an image load completes:
imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,readImage);
But Ruffle is only firing this event once. I think this is the same problem as #11554.

Expected behavior

Image loading should work more than once.

Affected platform

Browser's extension

Operating system

Windows 10

Browser

Firefox 114

Additional information

Sydney's Siberia was originally mentioned in #1811.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-avm2 Area: AVM2 (ActionScript 3) bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant