Hey Hilary,
The guys at cynergy claimed they had a solution
http://www.cynergysystems.com/blogs/page/karljohnson?
entry=working_around_security_sandbox_errors
But this is 101, i mean the only difference i can see with my
implementation is that they're using mxml and binding for the
loaderContext reference.
I'm also loading flv + images and swfs, so i guess the best solution
is to deploy a 'previewer' component swf on the remote domain the the
main application loads that contains the allowDomain() call.
B
On 23/04/2007, at 2:42 PM, Hilary Bridel wrote:
Hi Bjorn,
I don't think it will allow you to do this for a remote domain.
See Docs for BitMapData:
"The source object and (in the case of a Sprite or MovieClip
object) all of its child objects must come from the same domain as
the caller, or must be in a SWF file that is accessible to the
caller by having called the Security.allowDomain()method. If these
conditions are not met, the draw() method does not draw anything"
I tried to do the same with a remote .flv file but the player
wouldn't let me :-(
Hilary
On 4/23/07, Bjorn Schultheiss <[EMAIL PROTECTED]> wrote:
Hey,
I'm getting an annoying error when i try to do a bitmap draw of an
image loaded via a remote domain.
**Error: A policy file is required, but the checkPolicyFile flag
was not set when this media was loaded**
To confirm i have a breakpoint where i set the source of the image
tag, and i can confirm checkPolicyFile is set to true ( i do so
when i instantiate it ).
This is a major pain for me.
Any help?
regards,
Bjorn
((------------This transmission is confidential and intended solely
for the person or organization to whom it is addressed. It may
contain privileged and confidential information. If you are not the
intended recipient, you should not copy, distribute or take any
action in reliance on it. If you believe you received this
transmission in error, please notify the sender.---------------))
--
Hilary
--
Regards,
Bjorn Schultheiss
Senior Developer
Personalised Communication Power
Level 2, 31 Coventry St.
South Melbourne 3205,
VIC Australia
T: +61 3 9674 7400
F: +61 3 9645 9160
W: http://www.qdc.net.au
((------------This transmission is confidential and intended solely
for the person or organization to whom it is addressed. It may
contain privileged and confidential information. If you are not the
intended recipient, you should not copy, distribute or take any
action in reliance on it. If you believe you received this
transmission in error, please notify the sender.---------------))