git.asbjorn.biz
/
swftools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fixed bug in while(){continue};
[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
}
18
}