I'm actually getting this error now in a Flash 7 swf with local
files...a swf from folder A can't load another swf from folder A? 

*** Security Sandbox Violation ***
Connection to file://...\swf\Library.swf halted - not permitted from
file://...\swf\Other.swf
 


----- Original Message ----- 
From: JesterXL <[EMAIL PROTECTED]>
Date: Dec 8, 2005 5:45 PM 
Subject: Re: [Flashcoders] AS3: Sandbox violation on BitmapData.draw()
To: Flashcoders mailing list <flashcoders@chattyfig.figleaf.com>

I've had no problems converting a loaded PNG, using the docs example
code no 
less.  When the loader's done, you just cast it to a bitmap:

var myBitmap:Bitmap = Bitmap(loader.content);
addChild(myBitmap)

----- Original Message -----
From: "Shaw, Matt (MTVN)" < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> >
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Sent: Thursday, December 08, 2005 5:08 PM
Subject: [Flashcoders] AS3: Sandbox violation on BitmapData.draw()


In Flash < 8.5 I don't recall getting any sandbox violations when
running a local swf. However, I'm in AS3 and I can load a jpg that is in
the same directory as my swf but get a Sandbox Violation when I attempt 
to pass that loaded jpg to BitmapData.draw()

*** Security Sandbox Violation ***
SecurityDomain 'file:///c:/..../bin/Image3d-debug.swf' tried to access
incompatible context file:///c:/..../bin/mona.jpg'

Any ideas?
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________ 
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
<http://chattyfig.figleaf.com/mailman/listinfo/flashcoders> 
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to