git.asbjorn.biz
/
swftools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fixed double is_getlocal() definition
[swftools.git]
/
lib
/
as3
/
ok
/
with.as
1
package {
2
import flash.display.MovieClip;
3
public class A {
4
var ok1 = "ok 1/4";
5
function ok2() {
6
trace("ok 2/4");
7
}
8
static var ok3="ok 3/4";
9
static function ok4() {
10
trace("ok 4/4");
11
}
12
}
13
public class Main extends flash.display.MovieClip {
14
function Main() {
15
var a:A = new A;
16
with(a) {
17
trace(ok1);
18
ok2();
19
}
20
with(A) {
21
trace(ok3);
22
ok4();
23
}
24
trace("[exit]");
25
}
26
}
27
}