1 // makeswf -v 7 -s 200x150 -r 1 -o super-calls.swf super-calls.as
3 trace
("Check various behaviours of the super object");
16 #if __SWF_VERSION__
<= 5
17 Two
.prototype
= new Object();
18 Two
.prototype
.__proto__
= One
.prototype
;
19 Two
.prototype
.__constructor__
= One
;
20 Three
.prototype
= new Object();
21 Three
.prototype
.__proto__
= Two
.prototype
;
22 Three
.prototype
.__constructor__
= Two
;
39 One
.prototype
.foo
= function () {
42 Two
.prototype
.foo
= function () {
46 Three
.prototype
.foo
= function () {
53 Three
.prototype
.foo
();
55 loadMovie
("FSCommand:quit", "");