Did you try putting your "assets" directory inside "src"? I think that should 
work fine.

 -- Laurent Cozic


Flash, Flex and Web Application development 
http://pogopixels.com





----- Original Message ----
From: jamalwally <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, July 31, 2008 4:09:47 PM
Subject: [flexcoders] Re: Sandbox violation running from Builder. How did I get 
this and how do I fix it?


I also get a security sandbox violation error on a flex project
after checking out from SVN. 

I have a flex project that compiles and runs fine on the original
development computer.  I then check in my source code to an SVN
repository.  When a fellow developer checks the project out from SVN
and tries to compile on their system, they encounter the security
sandbox violation error.

My flex application never tries to access a remote file.  The security
sandbox violation occurs while trying to access a local XML file in
the project directory (source code in src/, swf in bin-debug/ and xml
file in assets/ --- all three are sister directories) .

If anyone has figured out the solution to this puzzle, please post!

Best wishes,
-- j

--- In [EMAIL PROTECTED] ups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>
> It was *something* funky caused by svn checkout.
> 
> First I check out via builder to my workspace (file location as well as
> "create project") and I got the problem.
> 
> I checked out to a directory completely separate from my workspace via
> another SVN client, and then copied the tree to the builder workspace
> directory and created a new project in Builder, still didn't work.
> 
> Finally I created yet another project, quit flex, copied the /src
directory
> from my checkout, deleted all dotfiles (svn and whatever else) with
a find |
> grep | xargs rm and re-started flex, and now it works (but it's not
checked
> out, just effectively exported).
> 
> The workspace isn't listed in Flash Player's "trusted locations"
through the
> advanced settings UI, so it'd be really nice to know how the player
> determines what is and isn't a builder swf, so I can take whatever's
causing
> the damned problem out of SVN (or put it back in if it's missing
something)
> - and also let other devs on the list and in my office know what to
look out
> for :)
> 
> -Josh
> 
> On Fri, Jun 6, 2008 at 12:51 PM, Bjorn Schultheiss <
> bjorn.mailinglists@ ...> wrote:
> 
> >   Are you sure its not a security settings related issue..
> >
> >
www.macromedia. com/support/ documentation/ en/flashplayer/ help/settings_ 
manager04. html
> >
> > --- In [EMAIL PROTECTED] ups.com <flexcoders% 40yahoogroups. com>,
"Rick
> > Winscot" <rick.winscot@ >
> > wrote:
> >
> > >
> > > Also. where is the project 'physically' located? I would strongly
> > recommend
> > > making sure that the project is inside your workspace. Are there any
> > > compiler options like -use-network= false present?
> > >
> > >
> > >
> > > Rick Winscot
> > >
> > >
> > >
> > >
> > >
> > > From: [EMAIL PROTECTED] ups.com <flexcoders% 40yahoogroups. com>
[mailto:
> > [EMAIL PROTECTED] ups.com <flexcoders% 40yahoogroups. com>] On
> > > Behalf Of Tracy Spratt
> > > Sent: Thursday, June 05, 2008 9:03 PM
> > > To: [EMAIL PROTECTED] ups.com <flexcoders% 40yahoogroups. com>
> > > Subject: RE: [flexcoders] Sandbox violation running from Builder.
> > How did I
> > > get this and how do I fix it?
> > >
> > >
> > >
> > > Very strange. There was a similar thread a couple days ago and we
> > did not
> > > find a solution, as far as I know.
> > >
> > >
> > >
> > > Did you create the new project by don't New Project and then copying
> > in the
> > > files, or did you import the other project? (the first, I know, but
> > maybe
> > > try the second?)
> > >
> > >
> > >
> > > Maybe try removing the application from the project's application
> > list and
> > > then re-adding it?
> > >
> > >
> > >
> > > Tracy
> > >
> > >
> > >
> > > _____
> > >
> > > From: [EMAIL PROTECTED] ups.com <flexcoders% 40yahoogroups. com>
[mailto:
> > [EMAIL PROTECTED] ups.com <flexcoders% 40yahoogroups. com>] On
> > > Behalf Of Josh McDonald
> > > Sent: Thursday, June 05, 2008 8:42 PM
> > > To: [EMAIL PROTECTED] ups.com <flexcoders% 40yahoogroups. com>
> > > Subject: [flexcoders] Sandbox violation running from Builder. How
> > did I get
> > > this and how do I fix it?
> > >
> > >
> > >
> > > I've checked out a project into the same directory as all my other
> > projects,
> > > and now I'm getting a security sandbox violation trying to load a
> > local file
> > > even when running from Flex. What could cause this? And how do I get
> > it back
> > > to behaving the way it should for all builder projects?
> > >
> > > -J
> > >
> > > --
> > > "Therefore, send not to know For whom the bell tolls. It tolls for
> > thee."
> > >
> > > :: Josh 'G-Funk' McDonald
> > > :: 0437 221 380 :: josh@
> > >
> >
> > 
> >
> 
> 
> 
> -- 
> "Therefore, send not to know For whom the bell tolls. It tolls for
thee."
> 
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
>

    


      

Reply via email to