git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug in links spec
[swftools.git]
/
lib
/
as3
/
ok
/
static.as
diff --git
a/lib/as3/ok/static.as
b/lib/as3/ok/static.as
index
09dd115
..
7ef44a8
100644
(file)
--- a/
lib/as3/ok/static.as
+++ b/
lib/as3/ok/static.as
@@
-3,29
+3,32
@@
package {
import flash.events.*
public class Main extends flash.display.MovieClip {
import flash.events.*
public class Main extends flash.display.MovieClip {
- static var ok1 = "ok 1/10";
- static var ok2:String = "ok 2/10";
+ static var ok1 = "ok 1/12";
+ static var ok2:String = "ok 2/12";
static function ok5() {
static function ok5() {
- trace("ok 5/10");
+ trace("ok 5/12");
}
}
- static var ok3:String = "ok 6/10";
- static var ok4:String = "ok 7/10";
+ static var ok3:String = "ok 6/12";
+ static var ok4:String = "ok 7/12";
static function f(s) {
trace(s);
trace(ok4);
}
static function f(s) {
trace(s);
trace(ok4);
}
- static var ok8:String = "ok 8/10";
+ static var ok8:String = "ok 8/12";
- static var _ok9:String = "ok 9/10";
+ static var _ok9:String = "ok 9/12";
var ok9 = Main._ok9;
var ok9 = Main._ok9;
+ static var ok11:String = "ok 11/12";
+ var ok11:int = 12;
+
function Main() {
trace(ok1);
trace(ok2);
function Main() {
trace(ok1);
trace(ok2);
- ok1 = "ok 3/10";
- ok2 = "ok 4/10";
+ ok1 = "ok 3/12";
+ ok2 = "ok 4/12";
trace(ok1);
trace(ok2);
ok5();
trace(ok1);
trace(ok2);
ok5();
@@
-36,7
+39,12
@@
package {
XML.prettyPrinting = true;
if(TextEvent.TEXT_INPUT == "textInput")
XML.prettyPrinting = true;
if(TextEvent.TEXT_INPUT == "textInput")
- trace("ok 10/10");
+ trace("ok 10/12");
+
+ trace(this.ok11);
+ trace("ok "+Main.ok11+"/12");
+
+ trace("[exit]");
}
}
}
}
}
}