1 // makeswf -v 7 -r 1 -o remove-movie-7.swf remove-movie.as
5 this.createEmptyMovieClip
("m", 4);
6 this.createTextField
("t", 5, 0, 0, 100, 100);
8 m
.test
= "Wasn't removed";
9 t
.test
= "Wasn't removed";
11 // work around ming lowercasing removeMovieClip
12 t
["removeMovieClip"] = _global
.MovieClip.prototype
["removeMovieClip"];
13 m
.removeTextField
= _global
.TextField.prototype
.removeTextField
;
15 trace
("MovieClip with removeTextField:");
16 trace
(m
.removeTextField
());
19 trace
("TextField with removeMovieClip:");
20 trace
(t
["removeMovieClip"] ());
23 this.createEmptyMovieClip
("m", 4);
24 this.createTextField
("t", 5, 0, 0, 100, 100);
26 m
.test
= "Wasn't removed";
27 t
.test
= "Wasn't removed";
29 trace
("MovieClip with removeMovieClip:");
30 trace
(m
["removeMovieClip"] ());
33 trace
("TextField with removeTextField:");
34 trace
(t
.removeTextField
());
37 loadMovie
("FSCommand:quit", "");