59b219cda6
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). |
||
---|---|---|
.. | ||
assets | ||
build_playerglobal | ||
macros | ||
src | ||
Cargo.toml | ||
build.rs |