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
/
dynamicobj.as
diff --git
a/lib/as3/ok/dynamicobj.as
b/lib/as3/ok/dynamicobj.as
index
d758b26
..
28f2f09
100644
(file)
--- a/
lib/as3/ok/dynamicobj.as
+++ b/
lib/as3/ok/dynamicobj.as
@@
-16,11
+16,19
@@
package {
"three": 3
};
"three": 3
};
- if(x["two"]==2) trace("ok 1/2");
+ if(x["two"]==2) trace("ok 1/3");
- x.f = function() {trace("ok 2/2")};
+ x.f = function() {trace("ok 2/3")};
x.f();
x.f();
-
+
+ var str:String = "key";
+ var y:Object = {str:{}};
+
+ var z:Object =
+ {one: 1,two: 2,three: 3};
+
+ if(z.two == 2) trace("ok 3/3");
+
trace("[exit]");
}
}
trace("[exit]");
}
}