<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>中文Flex例子 &#187; crossdomain</title>
	<atom:link href="http://blog.minidx.com/tag/crossdomain/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.minidx.com</link>
	<description>中文Adobe Flex例子,Flex实例教程,RIA资源,全文检索技术,算法和数据结构</description>
	<lastBuildDate>Thu, 31 Mar 2011 03:22:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flex中利用LiveCycle Data Services ES或者BlazeDS解决跨域问题（cross-domain）</title>
		<link>http://blog.minidx.com/2008/08/14/1255.html</link>
		<comments>http://blog.minidx.com/2008/08/14/1255.html#comments</comments>
		<pubDate>Wed, 13 Aug 2008 23:38:13 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Adobe其他]]></category>
		<category><![CDATA[BlazeDS]]></category>
		<category><![CDATA[crossdomain]]></category>
		<category><![CDATA[Flex CookBook]]></category>
		<category><![CDATA[LiveCycle]]></category>
		<category><![CDATA[Proxy]]></category>
		<category><![CDATA[RssReader]]></category>
		<category><![CDATA[跨域问题]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/08/14/1255.html</guid>
		<description><![CDATA[在RSSReader&#8211;a simple example of Syndication Library的编写过程中，跨域问题（cross-domain）曾经让郭大侠（hydra1983）头痛不已&#8211;因为当时没能找到可以直接用来当作Proxy的Server。Flex cookbook上看到了一篇关于Flex中如何利用LiveCycle Data Services ES或者BlazeDS解决跨域问题（cross-domain），对于正在使用LiveCycle Data Services ES或者BlazeDS的项目来说，相当的有用，当然如果你不想仅仅为了解决这个问题而额外的使用他们的话，可以参考开头的RSSReader的做法，自己写一个Proxy。下面是Flex cookbook上文章的地址：








http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&#38;productId=2&#38;postId=10284
你也可以参考：
RSSReader&#8211;a simple example of Syndication Library
你可能还对下列文章感兴趣:如何在Flex项目中手动配置BlazeDS的教程你理想中的Flex相关的&#8220;好书&#8221;应该有哪些内容？解决Flash应用中的&#34;Uncaught exception: Permission denied to call method to Location.toString&#34;问题]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/08/14/1255.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>解决Flash应用中的&quot;Uncaught exception: Permission denied to call method to Location.toString&quot;问题</title>
		<link>http://blog.minidx.com/2008/05/09/835.html</link>
		<comments>http://blog.minidx.com/2008/05/09/835.html#comments</comments>
		<pubDate>Fri, 09 May 2008 12:48:29 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Adobe其他]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[crossdomain]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/05/09/835.html</guid>
		<description><![CDATA[可能有些人已经遇到了这个问题，执行Flash应用时会出现&#34;Uncaught exception: Permission denied to call method to Location.toString&#34;这种很奇怪的错误，不过在你的电脑上出现了，但是很有可能在你同事的电脑上却总是可以正常运行&#8230;&#8230;








其实这是由于Flash 9.0.115.0和Flash9.0.124.0版本中跨域（crossdomain）的security方针的改变引起的。修改这个问题并不复杂，只需要将crossdomain.xml文件中原先的：
&#60;cross-domain-policy&#62;
&#160; &#160; &#60;site-control&#160;permitted-cross-domain-policies=&#34;all&#34;/&#62;
&#160; &#160; &#60;allow-access-from&#160;domain=&#34;*&#34; /&#62;
&#60;/cross-domain-policy&#62;
修改为 
&#60;cross-domain-policy&#62;
&#160; &#160; &#60;site-control&#160;permitted-cross-domain-policies=&#34;all&#34;/&#62;
&#160; &#160; &#60;allow-access-from&#160;domain=&#34;*&#34; /&#62;
&#160; &#160; &#60;allow-http-request-headers-from&#160;domain=&#34;*&#34; headers=&#34;*&#34;/&#62;
&#60;/cross-domain-policy&#62;
就OK了。从Adobe&#8217;s TechNote page on arbitrary headers not being sent和这里可以看到更加具体的说明。
你可能还对下列文章感兴趣:Adobe移动战略失败的幕后HTML5对Adobe Flex/Flash的冲击一篇关于Adobe Flash，Adobe Flex，Adobe AIR以及Microsoft Silverlight几款产品比较的精彩文章在Unix/Linux下搭建Flash/Flex的开发环境Flex/Flash和Silverlight哪一个更快]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/05/09/835.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching using disk
Object Caching 208/422 objects using disk

Served from: blog.minidx.com @ 2012-02-09 20:42:49 -->
