ruffle icon indicating copy to clipboard operation
ruffle copied to clipboard

The Mighty B! Pier 13 Throwdown

Open Stefannag opened this issue 1 year ago • 2 comments

Describe the bug

At the end of preloading, error occurs:

ERROR core/src/avm2/events.rs:428 Error dispatching event EventObject(EventObject { type: "complete", class: com.sarbakan.sbdk.events::UIEvent, ptr: 0x1d80c38 }) to handler FunctionObject(FunctionObject { ptr: 0x1802960, name: Ok("PreloaderScreen/onProgressbarComplete()") }) : ArgumentError: Error #2024: An object cannot be added as a child of itself.

The game is working if you don't load the preloader, and load the main.swf directly, as here.

Expected behavior

Should load the game, but it is stuck at preloading.

Content Location

Ruffle

Affected platform

Self-hosted version

Operating system

Windows 11

Browser

Google Chrome Version 120.0.6099.200 (Official Build) (64-bit)

Additional information

Couldn't find a working flash page.

Stefannag avatar Jan 19 '24 13:01 Stefannag

SWF URL is https://www.getgames.io/games/swf/nick/MightyB/mighty-b-pier/preloader.swf It works in Flash Player so it is definitely a Ruffle bug

n0samu avatar Jan 19 '24 13:01 n0samu

SWF URL is https://www.getgames.io/games/swf/nick/MightyB/mighty-b-pier/preloader.swf It works in Flash Player so it is definitely a Ruffle bug

Indeed, that is the correct swf, but just wanted to point out that the game is working without the preloader.

Stefannag avatar Jan 19 '24 15:01 Stefannag