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] [mailto:[email protected]] On Behalf Of Matt Chotin
Sent: Thursday, November 02, 2006 9:45 PM
To: [email protected]
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?

__._,_.___

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





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to