tests: register_and_init_order tests for constructor after goto

This commit is contained in:
Mike Welsh 2020-06-12 01:06:47 -07:00
parent 5efab4c579
commit 568d0513ed
4 changed files with 14 additions and 36 deletions

View File

@ -1,7 +1,7 @@
class aaclass extends MovieClip {
function aaclass() {
trace("aaclass constructor");
super();
trace("aaclass constructor");
trace("");
trace("// trace(this._name)");

View File

@ -100,39 +100,31 @@ _level0.b.box
root first frame end
a first frame
aaclass constructor
// trace(this._name)
a
d
aaclass test()
// trace(this._name)
d
// trace(this.box)
_level0.a.box
_level0.d.box
// trace(this.custom)
true
// trace(this.box.custom)
undefined
// trace(this.box.box)
_level0.a.box.box
// trace(this.oldbox)
_level0.a.box
// trace(this.box === this.oldbox)
true
a first frame end
aaclass test() end
aaclass constructor end
root frame 2
aa first frame
// trace(this._name)
box
d
// trace(this.box)
_level0.a.box.box
_level0.d.box
// trace(this.custom)
undefined
@ -140,17 +132,3 @@ undefined
aa first frame end
b first frame
// trace(this._name)
b
// trace(this.box)
_level0.b.box
// trace(this.custom)
true
b first frame end