ruffle-rs / ruffle

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

Bamba magic kingdom - Unresponsive buttons #11004

Open ilayezra opened 1 year ago

ilayezra commented 1 year ago

Describe the bug after and during the intro some buttons are doing not what they supposed to or just don't respone console error: ERROR core/src/avm2/events.rs:419 Error dispatching event EventObject(EventObject { type: "complete", class: flash.events::Event, ptr: 0x2a364ac }) to handler FunctionObject(FunctionObject { ptr: 0x375d83c }) : TypeError: Error #1009: Cannot access a property or method of a null object reference. (accessing field: xmlData) test: https://milkibambatest.000webhostapp.com/

Expected behavior one button should skip the intro but insted he's making the intro to play again other button just don't response altough there are some buttons that are doing everything as they need to

Affected platform Online demo

Operating system All

Browser All

Additional information (to go further in the game, when you start press כניסה and then כניסה again until the frame with the sounds bar appear, and then press משתמש חדש) (I suggest using google lens from your phone to translate the text)

2023-05-10_22_52_49-

Lord-McSweeney commented 1 year ago

This warning on the title seems relevant: from_avm2 needs to be implemented for Avm2Value::Object