git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b17f3e
)
test for late inner functions
author
Matthias Kramm
<kramm@quiss.org>
Mon, 2 Feb 2009 17:46:33 +0000
(18:46 +0100)
committer
Matthias Kramm
<kramm@quiss.org>
Mon, 2 Feb 2009 17:46:33 +0000
(18:46 +0100)
lib/as3/ok/innerfunctionlate.as
[new file with mode: 0644]
patch
|
blob
diff --git a/lib/as3/ok/innerfunctionlate.as
b/lib/as3/ok/innerfunctionlate.as
new file mode 100644
(file)
index 0000000..
8621cda
--- /dev/null
+++ b/
lib/as3/ok/innerfunctionlate.as
@@ -0,0
+1,27
@@
+package {
+ import flash.display.MovieClip
+
+ public class Main extends flash.display.MovieClip {
+ public function Main() {
+ var log = f3;
+ f1("ok 1/3");
+ var f = f2;
+ f("2/3");
+
+ f0();
+
+ function f0() {
+ f3("ok","3","3");
+ }
+ function f1(text) {
+ trace(text);
+ }
+ function f2(text) {
+ trace("ok "+text);
+ }
+ function f3(t1,t2,t3) {
+ trace(t1+" "+t2+"/"+t3);
+ }
+ }
+ }
+}