git.asbjorn.biz
/
swftools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
added kerning support to record device
[swftools.git]
/
lib
/
as3
/
ok
/
extendinterface.as
1
package {
2
import flash.display.MovieClip
3
public interface I1 {
4
function f()
5
}
6
public interface I2 extends I1 {
7
function g()
8
}
9
public class C implements I2 {
10
public function f() {
11
trace("ok 1/2");
12
}
13
public function g() {
14
trace("ok 2/2");
15
}
16
}
17
18
public class Main extends flash.display.MovieClip {
19
function Main() {
20
var x:I2 = new C;
21
x.f();
22
x.g();
23
24
trace("[exit]");
25
}
26
}
27
}