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 call support for global functions
[swftools.git]
/
lib
/
as3
/
ok
/
interface.as
diff --git
a/lib/as3/ok/interface.as
b/lib/as3/ok/interface.as
index
9bcd5a0
..
f7efeb0
100644
(file)
--- a/
lib/as3/ok/interface.as
+++ b/
lib/as3/ok/interface.as
@@
-1,6
+1,19
@@
-package I {
- public class ClassInMultiLevelPackage {
- }
+package {
+ import flash.display.MovieClip
public interface I1 {
public interface I1 {
+ function f()
+ }
+ public class TestI1 implements I1{
+ public function f() {
+ trace("ok");
+ }
+ }
+ public class Main extends flash.display.MovieClip {
+ function Main() {
+ var x:I1 = new TestI1();
+ x.f();
+ }
+ }
+ public interface I2 {
}
}
}
}