Title: quote
The crossdomain.xml file needs to be on the server providing the rss feed.

I have have a similar application.  What I did is have the flex app fetch the rss feed and using local connection pass the data to the yahoo map  ( I do some data manipulation). 

I use a proxy  (http://www.troywolf.com/articles) to get around the cross domain security issue.  Or you could have the SWF file access the the rss feed directly via the proxy?


.j

mindmillmedia said the following:

I am working on a Yahoo Maps app in Flex 2. Because the Yahoo Maps
API doesn't yet fully support Flex 2 - I am making the map (and its
API calls) in Flash 8. This Flash file also pulls data from an RSS
feed (to make markers on the map). There are no security errors when
I run the SWF.

However, when I load the SWF into the Flex app, I get security sandbox
errors all over the place (for the Map and for the RSS feed - two
different domains).

I have the following set in the Flex application:

Security.allowDomain("domain1.com");
Security.allowDomain("domain2.com");
_context = new LoaderContext (true, ApplicationDomain.currentDomain,
SecurityDomain.currentDomain);
yahooMap.loaderContext = _context;

I have the following set in the Flash SWF:

System.security.allowDomain("domain1.com");
System.security.allowDomain("domain2.com");

I have the following Cross Domain Policy File:

<?xml version="1.0"?>
<!-- http://mydomain.com/crossdomain.xml -->
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>

What am I missing?



--
Whether you think that you can, or that you can't, you are usually right.
 - Henry Ford
__._,_.___

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