1 // makeswf -v 7 -r 1 -o loadobject-7.swf loadobject.as
3 var obj
= new Object ();
5 obj
.load
= ASnative
(301, 0);
7 obj
.onData
= function (str
) {
8 trace
("Got: " + typeof (str
) + " '" + str
+ "'");
9 trace
("Loaded: " + this._bytesLoaded
);
10 trace
("Total: " + this._bytesTotal
);
11 trace
("Is loaded: " + obj
.loaded
);
14 trace
("Loaded: " + obj
._bytesLoaded
);
15 trace
("Total: " + obj
._bytesTotal
);
16 trace
("Is loaded: " + obj
.loaded
);
18 trace
("Loaded: " + obj
._bytesLoaded
);
19 trace
("Total: " + obj
._bytesTotal
);
20 trace
("Is loaded: " + obj
.loaded
);
21 trace
(obj
.load
("loadobject.as"));
22 trace
("Loaded: " + obj
._bytesLoaded
);
23 trace
("Total: " + obj
._bytesTotal
);
24 trace
("Is loaded: " + obj
.loaded
);
25 trace
(obj
.load
("404"));
26 trace
("Loaded: " + obj
._bytesLoaded
);
27 trace
("Total: " + obj
._bytesTotal
);
28 trace
("Is loaded: " + obj
.loaded
);
31 loadMovie
("FSCommand:quit", "");
34 setInterval
(quit
, 1000);