strdup CDATA
[swftools.git] / lib / as3 / ok / innerrecurse.as
1 package {
2     import flash.display.MovieClip
3
4     public class Main extends flash.display.MovieClip {
5         public function Main() {
6             var i = 0;
7             f(0);
8             function f(j:int) {
9                 if(i!=j) 
10                     trace("error");
11                 i++;
12                 if(j==3) {
13                     trace("ok");
14                     return;
15                 }
16                 f(j+1);
17             }
18         }
19     }
20 }