git.asbjorn.biz
/
swftools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
more ttf bug fixes
[swftools.git]
/
lib
/
as3
/
ok
/
interface.as
1
package {
2
import flash.display.MovieClip
3
import flash.utils.ByteArray
4
public interface I1 {
5
function f()
6
}
7
public class TestI1 implements I1{
8
public function f() {
9
trace("ok");
10
}
11
}
12
public class Main extends flash.display.MovieClip {
13
function Main() {
14
var x:I1 = new TestI1();
15
x.f();
16
trace("[exit]");
17
}
18
}
19
public interface I2 {
20
function init(key:ByteArray):void;
21
}
22
}