git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d59964a
)
added test for const slots
author
kramm
<kramm>
Tue, 30 Dec 2008 22:39:37 +0000
(22:39 +0000)
committer
kramm
<kramm>
Tue, 30 Dec 2008 22:39:37 +0000
(22:39 +0000)
lib/as3/ok/const.as
[new file with mode: 0644]
patch
|
blob
diff --git a/lib/as3/ok/const.as
b/lib/as3/ok/const.as
new file mode 100644
(file)
index 0000000..
d327311
--- /dev/null
+++ b/
lib/as3/ok/const.as
@@ -0,0
+1,18
@@
+package {
+ import flash.display.MovieClip
+ public class Main extends flash.display.MovieClip {
+
+ const ok1:String = "ok 1/4";
+ static const ok2:String = "ok 2/4";
+
+ const ok3:String = "ok 3/4";
+ static const ok4:String = "ok 4/4";
+
+ function Main() {
+ trace(ok1);
+ trace(ok2);
+ trace(this.ok3);
+ trace(Main.ok4);
+ }
+ }
+}