开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜