add test for frames and bytes properties of empty movies
[swfdec.git] / test / trace / string-lastIndexOf.as
blobf0706bfbc7ff137c528d6cd81e6ae859976ceb56
1 // makeswf -v 7 -s 200x150 -r 1 -o string-lastIndexOf.swf string-lastIndexOf.as
3 trace ("test String.lastIndexOf");
4 s = "Hello World";
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", "");