Because FlexBuilder creates trust files (.cfg) for each project, allowing you 
to do stuff that nomally isn't allowed.

Look for these:
- a file called "FlashAuthor.cfg"
- a folder called "FlashPlayerTrust"

If you have Flex Builder installed, you'll find both in two locations (at least 
on Windows).
1 for the Flash Player and 1 for FlexBuilder

On Win Vista (64bit):
C:\Users\[USER]\AppData\Roaming\Macromedia\Flash Player\#Security
C:\Windows\SysWOW64\Macromed\Flash

http://livedocs.adobe.com/flex/201/html/security2_117_43.html
http://livedocs.adobe.com/flex/201/html/security2_117_46.html

You can create trust files manually or use the Flash Player Settings Manager to 
add trusted files/directories.
http://livedocs.adobe.com/flex/201/html/security2_117_47.html

http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04a.html#119065

regards,
Muzak

----- Original Message ----- 
From: "Stephen Roy J. Tang" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, October 17, 2007 5:24 AM
Subject: [flexcoders] security sandbox violations


Hi,

How exactly does the Flash Player determine when it will throw a
security sandbox error? I encountered a problem with a case like this:
I had an Image object loading a file via relative path, i.e. <mx:Image
source="assets/filename.png" />. The swf works fine on my machine.

A coworker checks out the source and compiles it on her own machine,
and she gets a sandbox violation error. The difference is that she's
using command line mxmlc to compile, I'm using Flex Builder. Neither
of us are using the use-network compiler param. Of course, I ask her
to just set the param and she can then run the swf without error. But
I'm curious as to why it would behave differently in her case and mine.

Thanks,

Roy




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to