git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mark objects without kind as 'undefined'
[swftools.git]
/
lib
/
as3
/
ok
/
this.as
diff --git
a/lib/as3/ok/this.as
b/lib/as3/ok/this.as
index
361d26b
..
1668ee9
100644
(file)
--- a/
lib/as3/ok/this.as
+++ b/
lib/as3/ok/this.as
@@
-2,29
+2,31
@@
package {
import flash.display.MovieClip
public class Main extends flash.display.MovieClip {
internal var s0;
import flash.display.MovieClip
public class Main extends flash.display.MovieClip {
internal var s0;
- internal var s1:String="ok3/4";
+ internal var s1:String="ok 3/4";
internal var s2;
internal var s2;
- function myswf() {
+ public function printok1() {
+ trace("ok 1/4");
+ }
+ public function printok2(x:uint) {
+ trace(this.s0);
+ }
+ public function printok3() {
+ trace(this.s2);
+ }
+ function Main() {
this.printok1();
this.printok1();
- this.s0 = "ok2/4";
+ this.s0 = "ok 2/4";
this.printok2(0);
// member w/ default value:
trace(this.s1);
//omit "this":
this.printok2(0);
// member w/ default value:
trace(this.s1);
//omit "this":
- s2 = "ok4/4";
+ s2 = "ok 4/4";
printok3();
printok3();
- }
- public function printok1() {
- trace("ok1/4");
- }
- public function printok2(x:uint) {
- trace(this.s0);
- }
- public function printok3() {
- trace(this.s2);
+
+ trace("[exit]");
}
}
}
}
}
}