开发者

ActionScript - loadBytes() example?

开发者 https://www.devze.com 2023-04-13 06:11 出处:网络
Can anyone tell me why you might use loadBytes() instead开发者_C百科 of a simple load()?From the ActionScript 3.0 Reference (flash.system.LoaderContext):

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

精彩评论

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

关注公众号