a50f5cd072
avm1_unload_movie has been adapted to only enter the unloaded state with one frame delay if the MovieClip is a root MovieClip. The unloaded state is now immediately entered for non-root MovieClips. This fixes the regressions #12254 and #12265 which got introduced because of this delay. However, in Flash Player, even non-root MovieClips enter the unloaded state one frame after the unloadMovie command has been read. Ruffle is probably replacing a MovieClip differently to Flash, therefore introducing these regressions when trying to emulate that delay. Documentation explaining this all has been added to avm1_unload_movie. Therefore, the test movieclip_library_state_values has been added. It tests the default state and the unloaded state of a (non-root) child MovieClip that's loaded from the library. It is marked as known_failure because Ruffle currently doesn't implement the delay before entering the unloaded state for non-root MovieClips. |
||
---|---|---|
.. | ||
assets | ||
build_playerglobal | ||
macros | ||
src | ||
Cargo.toml | ||
build.rs |