开发者

AS3 Camera denied if loaded in a parent SWF

I have a child SWF file that has the Camera functionality. It works fine if I run the child SWF by itself.

However, when I load the child SWF into a parent SWF, the Camera functionality does not work. Doing some tracing it says that Camera access is denied. That happens without me even clicking on the deny button and in fact the usual security popup does not even show up.

I have added import开发者_如何学Python flash.system.Security; flash.system.Security.allowDomain("*"); to both parent and child SWF.

What am I missing?

It's Flash 10 player.

Thank you, Tee


Actually I figured it out. In the HTML file, there is this wmode: 'direct' That screw things up.

Thanks, Tee

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜