1 // makeswf -v 7 -s 200x150 -r 1 -o invalid-variable-name.swf invalid-variable-name.as
3 trace
("Check for invalid variable names");
5 for (i
= 0; i
< 300; i
++) {
6 name
= String.fromCharCode
(i
);
7 trace
(">>> " + name
+ " (" + i
+ ")");
8 if (name
!= "i" && name
!= "I") {
17 trace
(this.hasOwnProperty
(name
));
27 trace
(this.hasOwnProperty
(name
));
37 trace
(this.hasOwnProperty
(name
));
41 loadMovie
("FSCommand:quit", "");