git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added pdf2pdf tool
[swftools.git]
/
lib
/
as3
/
ok
/
nested_functions.as
diff --git
a/lib/as3/ok/nested_functions.as
b/lib/as3/ok/nested_functions.as
index
28d5912
..
d7796dc
100644
(file)
--- a/
lib/as3/ok/nested_functions.as
+++ b/
lib/as3/ok/nested_functions.as
@@
-5,10
+5,11
@@
package {
public class Main extends flash.display.MovieClip {
static public var ok:String = "ok";
public class Main extends flash.display.MovieClip {
static public var ok:String = "ok";
- public function Main() {
+ function test(x,y)
+ {
trace("ok 1/5")
trace("ok 1/5")
- var x = msg(2, 5)
- var y = msg(3, 5)
+ x = msg(2, 5)
+ y = msg(3, 5)
trace(x);
trace(y);
trace(x);
trace(y);
@@
-28,6
+29,11
@@
package {
trace(x1);
trace(x2);
trace(x1);
trace(x2);
+ trace("[exit]");
+ }
+
+ public function Main() {
+ test(3,4);
}
}
}
}
}
}