ruffle/core
Kornelius Rohrschneider a50f5cd072 avm1: Remove delay to enter the unloaded state for non-root MovieClips
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.
2023-08-19 17:29:00 +02:00
..
assets chore: Update translations from Crowdin 2023-08-08 23:49:31 +02:00
build_playerglobal fix(deps): update rust dependencies 2023-08-18 23:32:15 +02:00
macros fix(deps): update rust dependencies 2023-08-18 23:32:15 +02:00
src avm1: Remove delay to enter the unloaded state for non-root MovieClips 2023-08-19 17:29:00 +02:00
Cargo.toml fix(deps): update rust dependencies 2023-08-18 23:32:15 +02:00
build.rs core: Added ability to mark stubs inside actionscript 2023-02-07 20:34:59 +01:00