fixed 'make clean'
[swftools.git] / lib / as3 / ok / reassign.as
1 package {
2     import flash.display.MovieClip
3
4     public class Main extends flash.display.MovieClip {
5
6         function Main() {
7             
8             var a = [0,1];
9             var i = 0;
10             
11             a[int(i++)] += 1;
12
13             if(a[0]==1) trace("ok 1/2");
14             else        trace("error");
15             if(a[1]==1) trace("ok 2/2");
16             else        trace("error");
17             
18             trace("[exit]");
19         }
20     }
21 }
22