开发者

ActionScript - loadBytes() example?

Can anyone tell me why you might use loadBytes() instead开发者_C百科 of a simple load()?


From the ActionScript 3.0 Reference (flash.system.LoaderContext):

When loading a SWF file with the Loader.loadBytes() method, you have the same application domain choice to make as for Loader.load(), but it's not necessary to specify a security domain, because Loader.loadBytes() always places its loaded SWF file into the security domain of the loading SWF file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜