AS3 Camera denied if loaded in a parent SWF
Posted
by teepusink
on Stack Overflow
See other posts from Stack Overflow
or by teepusink
Published on 2010-01-22T08:59:43Z
Indexed on
2010/04/25
16:33 UTC
Read the original article
Hit count: 265
as3
Hi,
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 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
© Stack Overflow or respective owner