core: Explicit gotos drain the tag queue of any prior operations.

This is in keeping with the whole idea of a "recursive frame": gotos run the entire frame lifecycle on the target clip, including broadcasts for `frameConstructed` and `exitFrame`.
This commit is contained in:
David Wendt 2022-08-03 21:44:21 -04:00 committed by kmeisthax
parent 6f0de246ed
commit 05caa0fceb
1 changed files with 1 additions and 0 deletions

View File

@ -1653,6 +1653,7 @@ impl<'gc> MovieClip<'gc> {
.for_each(|goto| run_goto_command(self, context, goto));
if !is_implicit {
self.construct_frame(context);
self.frame_constructed(context);
self.avm2_root(context)
.unwrap_or_else(|| self.into())