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:
parent
6f0de246ed
commit
05caa0fceb
|
@ -1653,6 +1653,7 @@ impl<'gc> MovieClip<'gc> {
|
||||||
.for_each(|goto| run_goto_command(self, context, goto));
|
.for_each(|goto| run_goto_command(self, context, goto));
|
||||||
|
|
||||||
if !is_implicit {
|
if !is_implicit {
|
||||||
|
self.construct_frame(context);
|
||||||
self.frame_constructed(context);
|
self.frame_constructed(context);
|
||||||
self.avm2_root(context)
|
self.avm2_root(context)
|
||||||
.unwrap_or_else(|| self.into())
|
.unwrap_or_else(|| self.into())
|
||||||
|
|
Loading…
Reference in New Issue