added kerning support to record device
[swftools.git] / lib / as3 / ok / for.as
1
2 package {
3     import flash.display.MovieClip
4     public class Main extends flash.display.MovieClip {
5         function Main() {
6             var a1 = 0;
7             for(a1=0;a1<100;a1++) {
8             }
9             if(a1==100) trace("ok 1/4");
10             else        trace("error");
11
12             var a3:int;
13             for(a3=0;a3<100;a3++) {
14                 a1++;
15             }
16             if(a1==200) trace("ok 2/4");
17             else        trace("error");
18
19             if(a3==100) trace("ok 3/4");
20             else        trace("error");
21             
22             for(var a2=0;a2<99;a2++) {
23                 if(a2==80) trace("ok 4/4");
24             }
25             trace("[exit]");
26         }
27     }
28 }
29