views:

102

answers:

2

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

A: 

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

Thanks, Tee

teepusink
A: 

Hello Tee

I have the same problem, but with the nested swf in a Flash-Projector EXE. Does somebody have any idea how I could get working the camera as nested swf.

--> I have a reference to the camera-Object --> I have a reference to the video-Object

but the camera does not initialize. Why ?

Thanks. Patrick

Patrick