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
/
members.as
1
package package1 {
2
public class Class1 {
3
public var a;
4
public var b:int;
5
public var c:int;
6
public var d = 1;
7
public var e:int = 1;
8
9
function Class1() {
10
}
11
public function write() {
12
if(a==1)
13
trace("ok 1/5");
14
if(b==1)
15
trace("ok 2/5");
16
if(c==1)
17
trace("ok 3/5");
18
if(d==1)
19
trace("ok 4/5");
20
if(e==1)
21
trace("ok 5/5");
22
}
23
}
24
}
25
package {
26
import package1.Class1
27
import flash.display.MovieClip
28
29
public class Main extends flash.display.MovieClip {
30
public function Main() {
31
var cls = new Class1();
32
cls.a = 1;
33
cls.b++;
34
cls.c = cls.a;
35
cls.write();
36
37
cls.c += 1;
38
cls.c -= cls.a;
39
trace("[exit]");
40
}
41
}
42
}