Do you mean you have a parent SWF that loads another SWF that contains FDS code?
 
1. Perhaps you have a relative channel endpoint specified in the config and/or a programmatically created channel set. Try using fully qualified URLs. Or perhaps you're loading the parent SWF from the file system instead of via a URL?
 
2. Channels enforce a protocol, so the AMFChannel, for instance, enforces that communication occurs over HTTP so it ensures the URL starts with http:// - perhaps its having trouble working out what the hostname and port are (hence why I asked about the relative versus absolute channel endpoint).
 

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of dadrobson
Sent: Wednesday, October 18, 2006 1:45 PM
To: [email protected]
Subject: [flexcoders] FDS and componentized development: Bug?

I have an app that works perfectly when all of the FDS-related code
resides in the main application MXML file. However, when I place the
FDS code in a separate component and import / embed that component in
the main application file, the Flash player throws security sandbox
errors as follows:

"Channel.Security.Error error Error #2048: Security sandbox violation:
http://localhost/physioproxy/physioproxy/physioproxy-debug.swf cannot
load data from http:///physioproxy/messagebroker/amf."

At this point, everything is on my local box - both server and client.
I have a couple of questions:
1. What does the syntax "http:///" that I see in the error message mean?
2. Why does the app work when all of the FDS code is in the main
application file, but throw exceptions when essentially identical code
is abstracted to its own component?

I can provide sample code to anyone who's interested.

-Jim

__._,_.___

--
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