Swfdec is a decoder/renderer for Macromedia Flash animations. The decoding and rendering engine is

源代码在线查看: addproperty-flags.as

软件大小: 1809 K
上传用户: thor
关键词: Macromedia animations rendering decoding
下载地址: 免注册下载 普通下载 VIP

相关代码

				// makeswf -v 7 -s 200x150 -r 1 -o addProperty-flags.swf addProperty-flags.as								trace ("Check if flags of variables get reset upon addProperty");								o = {};				o.addProperty ("foo", function () { trace ("get"); return 42; }, function () { trace ("set called"); });				trace ("set:");				o.foo = 20;				trace ("mark constant:");				ASSetPropFlags (o, "foo", 4);				o.foo = 20;				trace ("overwrite:");				o.addProperty ("foo", function () { trace ("get"); return 42; }, function () { trace ("set called"); });				o.foo = 20;								o.bar = 10;				ASSetPropFlags (o, "bar", 4);				trace (o.bar);				o.addProperty ("bar", function () { trace ("get"); return 42; }, function () { trace ("set called"); });								trace (o.bar);								loadMovie ("FSCommand:quit", "");							

相关资源