ruffle-rs / ruffle

A Flash Player emulator written in Rust
https://ruffle.rs
Other
15.65k stars 812 forks source link

spongebob-decorating-dilemma frozen on loading screen #15673

Open markman12345 opened 7 months ago

markman12345 commented 7 months ago

Describe the bug

above says it

Expected behavior

for the screen not to be frozen and stuck on loading

Content Location

https://www.numuki.com/game/spongebob-decorating-dilemma/

Affected platform

Browser's extension

Operating system

windows 11

Browser

microsoft edge

Additional information

No response

Lord-McSweeney commented 7 months ago

This needs moving around an AVM1Movie when the parent AVM2 movie is SWF9

ArgumentError: Error #2180: It is illegal to move AVM1 content (AS1 or AS2) to a different part of the displayList when it has been loaded into AVM2 (AS3) content.
    at flash.display::DisplayObjectContainer/flash::display::DisplayObjectContainer::addChild()
    at com.nick.spongebob.decorating::GameTimeline/keyboardFixLoaded()
    at flash.events::EventDispatcher/flash::events::EventDispatcher::dispatchEvent()
    at com.workinman.lib.net::WorkinLoader/_onSWFLoaded()