If I
understand you correctly, all you want to do is launch the
browser pointing at http://myserver/myparentapp.html,
instead of
pointing at C:\myproject\bin\myparentapp.html, right?
If that's the case, then:
1. bring up the launch configurations dialog (click the down-arrow on
the Debug toolbar button, and then CTRL-click on the line for the
launch config you want to modify)
2. find the launch configuration that you want to modify
3. un-check the "use default launch URLs" checkbox, and then enter
the URL you want.
--- In [EMAIL PROTECTED]ups.com,
"Thomas W. Gonzalez"
<[EMAIL PROTECTED]..> wrote:
>
> Yes, I understand that we want both apps coming from the same
domain in
> production (or at least both from remote network locations)
>
>
>
> But there is a major use case here that can't be fulfilled:
>
>
>
> How do you DEBUG? Is there a way to setup Flex Builder to debug
via remote
> files? We need to debug the loading and interaction of the child
app with
> the Parent app (we don't necessarily need to debug the child app,
although
> that would be nice, but we do need to debug the parent app.) I
think
> this is a legitimate use case, albeit an advanced one, but I
suspect it will
> start to come up more often especially when people start making
more modular
> applications.
>
>
>
> - Tom
>
>
>
>
>
> _____
>
> From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of Matt Chotin
> Sent: Thursday, November 02, 2006 9:45 PM
> To: [EMAIL PROTECTED]ups.com
> Subject: RE: [flexcoders] local SWF files cannot use the
> LoaderContext.securityDomain property
>
>
>
> I think you probably need to get your first app served over http as
well so
> that it isn't local. The mix of local and network will always be
limited.
>
>
>
> _____
>
> From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of twgonzalez01
> Sent: Wednesday, November 01, 2006 6:59 PM
> To: [EMAIL PROTECTED]ups.com
> Subject: [flexcoders] local SWF files cannot use the
> LoaderContext.securityDomain property
>
>
>
> Use Case:
> Debugging Flex app locally which uses the SWFLoader to load child
> applications that reside on a remote server (in our data center).
>
> Need to allow both the parent app (running locally in debug) and the
> child app (resides on remote server) to play nicely together.
>
> Expected Result: I can have both apps (parent & child) share the
same
> ApplicationDomain and SecurityDomain.
>
> What Happens: I get the error message "local SWF files cannot use
the
> LoaderContext.securityDomain property" when trying to set the
> LoaderContext.securityDomain of the SWFLoader object. If I omit this
> setting the SWFLoader then barfs when it trys to load the remote
resource.
>
> I have both parent and child applications using
> Security.allowDomain(["*"]); and I also have a cross-domain
policy
> file on the remote server to allow ALL domains access.
>
> Anyone have any suggestions?
>