ruffle-rs / ruffle

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

Tricky Fish - Can't drag & drop the fish #11310

Open desertking opened 1 year ago

desertking commented 1 year ago

Describe the bug

Hello,

edit: forgot the swf: https://www.spiele-umsonst.de/azad/downloads/flashgames/trickyfish.swf

here are the errors. As stated above I can't use the "mouse" drag & drop function to start the fish in the first level.

ERROR core/src/avm2/events.rs:419 Error dispatching event EventObject(EventObject { type: "addedToStage", class: flash.events::Event, ptr: 0x1134043c }) to handler FunctionObject(FunctionObject { ptr: 0x113402ec }) : Error: Error #2030: End of file was encountered. ruffle_web-wasm_extensions.js:716 ERROR core/src/display_object/movie_clip.rs:2557 Error occured when running AVM2 frame script: TypeError: Error #1009: Cannot access a property or method of a null object reference. (accessing field: stop) ruffle_web-wasm_extensions.js:716 ERROR core/src/avm2/events.rs:419 Error dispatching event EventObject(EventObject { type: "enterFrame", class: flash.events::Event, ptr: 0x11488d64 }) to handler FunctionObject(FunctionObject { ptr: 0x3a0c3d4 }) : TypeError: Error #1009: Cannot access a property or method of a null object reference. (accessing field: removeChild)

Expected behavior

Use "drag & drop" to launch the fish. https://www.youtube.com/watch?v=OdDH1eXpYho

Affected platform

Online demo

Operating system

All

Browser

All

Additional information

No response

desertking commented 2 days ago

seems to work now