added jpeg3 extraction support to swfextract
[swftools.git] / lib / as3 / ok / for2.as
1 package {
2     import flash.display.MovieClip
3     public class Main extends flash.display.MovieClip {
4         function Main() {
5             var x:int = 0, y:int = 0;
6
7             for(x=0,y=0;x<10;x++,y++) {
8             }
9             if(y==10) trace("ok 1/2");
10             else      trace("error");
11
12             y = 0;
13            
14             var o,z:uint = 0;
15             for(x++,y++;x<20;x++,y++) {
16                 z++;
17             }
18             if(z==9) trace("ok 2/2");
19             else     trace("error");
20             trace("[exit]");
21         }
22     }
23 }
24