fixed space char detection bug
[swftools.git] / lib / as3 / ok / recursion.as
1
2 package {
3     import flash.display.MovieClip
4     import flash.geom.Point
5
6     public class Main extends flash.display.MovieClip {
7         
8         function write(nr) {
9             trace("ok "+nr+"/3");
10             if(nr<3)
11                 write(nr+1);
12         }
13
14         public function Main() {
15             write(1);
16             
17             trace("[exit]");
18         }
19     }
20 }