How to set Security.sandboxType through programming in Flex
I need to call JavaScript for that I need to set
flash.system.Security.sandboxType as LOCAL_TRUSTED. Default value is LOCAL_WITH_NETWORK.
I can change this setting by 开发者_JAVA百科Global setting of Flash player.
Question is how can I set it throguh coding so that my application work on every local system ?
Hmm,
From what I understand, you want your user to launch a swf from their filesystem and access javascript functions. If it's the case, the answer is simple, you can't. It would be a serious security hole.
精彩评论