ruffle/core
Aaron Hill 59b219cda6 avm2: Run 'nested goto frame' for entire Stage and orphans
When we run a 'goto', a weird "nested frame" gets triggered.
Previously, we were only calling `construct_frame` on the target
MovieClip as part of this "nested frame". However, Flash Player
seems to treat this (in some ways) like a normal frame - *all*
objects on the Stage (and orphans) have `construct_frame` called.

In particular, `gotoAndStop`/`gotoAndPlay` is called during
an "enterFrame" event handler, then unrelated objects on the Stage
will have their children constructed during the execution of
`gotoAndStop`/`gotoAndPlay`. The same logic holds for frame scripts.

This fixes a bug in Steamlands, which relies on children on the main
timeline being constructed immediately following a call to `gotoAndStop`
on an orphan (originally triggered from an "enterFrame" handler).
2023-06-08 22:17:27 -05:00
..
assets chore: Update translations from Crowdin 2023-06-08 00:57:49 +02:00
build_playerglobal chore(deps): lock file maintenance rust dependencies 2023-06-04 22:53:18 -05:00
macros chore(deps): lock file maintenance rust dependencies 2023-05-28 23:54:33 -05:00
src avm2: Run 'nested goto frame' for entire Stage and orphans 2023-06-08 22:17:27 -05:00
Cargo.toml chore(deps): lock file maintenance rust dependencies 2023-06-04 22:53:18 -05:00
build.rs core: Added ability to mark stubs inside actionscript 2023-02-07 20:34:59 +01:00