git.asbjorn.biz
/
swftools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
treat glyphs with alpha=0 differently than normal glyphs (remove outlines)
[swftools.git]
/
lib
/
as3
/
ok
/
getset.as
1
package package2 {
2
public class Test {
3
public function set x (v) {
4
if(v==2)
5
trace("ok 2/2");
6
}
7
public function get x ():uint {
8
trace("ok 1/2");
9
return 1;
10
}
11
12
public function set n(n:uint) {
13
}
14
}
15
}
16
17
package {
18
import flash.display.MovieClip;
19
import package2.Test
20
21
public class Main extends flash.display.MovieClip {
22
function Main() {
23
var t:Test = new Test();
24
t.x++;
25
t.n = 3;
26
trace("[exit]");
27
}
28
}
29
}