git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added pdf2pdf tool
[swftools.git]
/
lib
/
as3
/
ok
/
dynamicobj.as
diff --git
a/lib/as3/ok/dynamicobj.as
b/lib/as3/ok/dynamicobj.as
index
58644ff
..
28f2f09
100644
(file)
--- a/
lib/as3/ok/dynamicobj.as
+++ b/
lib/as3/ok/dynamicobj.as
@@
-16,10
+16,20
@@
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]");
}
}
}
}
}
}