1 // makeswf -v 7 -s 200x150 -r 1 -o string-lastIndexOf.swf string-lastIndexOf.as
3 trace
("test String.lastIndexOf");
6 for (j
= 0; j
< 11; j
++) {
7 trace
("s.lastIndexOf (\""+ s
.substr
(j
, 1) + "\") = " + s
.lastIndexOf
(s
.substr
(j
, 1)));
8 for (i
= -15; i
< 15; i
++) {
9 trace
("s.lastIndexOf (\""+ s
.substr
(j
, 1) + "\", " + i
+ ") = " + s
.lastIndexOf
(s
.substr
(j
, 1), i
));
13 loadMovie
("FSCommand:quit", "");