<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Loading XML at run-time using the mx:HTTPService tag</title>
	<link>http://blog.flexexamples.com/2007/07/27/loading-xml-at-run-time-using-the-mxhttpservice-tag/</link>
	<description>A bunch of examples for Adobe Flex and ActionScript</description>
	<pubDate>Fri, 05 Dec 2008 11:24:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/07/27/loading-xml-at-run-time-using-the-mxhttpservice-tag/#comment-16819</link>
		<author>peterd</author>
		<pubDate>Thu, 20 Nov 2008 23:32:25 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/07/27/loading-xml-at-run-time-using-the-mxhttpservice-tag/#comment-16819</guid>
		<description>Onur,

You should definitely be able to load XML from the same domain as your SWF file.
I'd start by trying to create a very simple test case and then try asking on a list like FlexCoders.

Peter</description>
		<content:encoded><![CDATA[<p>Onur,</p>
<p>You should definitely be able to load XML from the same domain as your SWF file.<br />
I&#8217;d start by trying to create a very simple test case and then try asking on a list like FlexCoders.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Onur</title>
		<link>http://blog.flexexamples.com/2007/07/27/loading-xml-at-run-time-using-the-mxhttpservice-tag/#comment-16818</link>
		<author>Onur</author>
		<pubDate>Thu, 20 Nov 2008 23:21:40 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/07/27/loading-xml-at-run-time-using-the-mxhttpservice-tag/#comment-16818</guid>
		<description>Hi!
 I learned a lot of things in your website, thanks for all. But I have a problem about loading external XML file to my SWF. Let me tell you my problem simplfy; I use mx:HTTPservice tag and write url="http://www.mysite.com/gallery.xml" but when I try to run it, I get Error #2143 Security access url. My SWF and XML files are in same domain. So what is the problem, why I cannot load my XML file in same domain?

Please give me an idea about this problem, because very important..
Thanks!</description>
		<content:encoded><![CDATA[<p>Hi!<br />
 I learned a lot of things in your website, thanks for all. But I have a problem about loading external XML file to my SWF. Let me tell you my problem simplfy; I use mx:HTTPservice tag and write url=&#8221;http://www.mysite.com/gallery.xml&#8221; but when I try to run it, I get Error #2143 Security access url. My SWF and XML files are in same domain. So what is the problem, why I cannot load my XML file in same domain?</p>
<p>Please give me an idea about this problem, because very important..<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/07/27/loading-xml-at-run-time-using-the-mxhttpservice-tag/#comment-15972</link>
		<author>peterd</author>
		<pubDate>Thu, 02 Oct 2008 16:11:29 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/07/27/loading-xml-at-run-time-using-the-mxhttpservice-tag/#comment-15972</guid>
		<description>Gabriel,

I uploaded a SWF and the full source code above.
The example works for me using the Flex 3.1 SDK, although I was getting some errors/warnings locally when I tested it. After uploading to the site and running over http:// rather than file:///, everything worked fine.

As for crossdomain issues, you shouldn't need a crossdomain file if you're just loading files from your own site. If you are loading remote XML from other sites, the other site would need the crossdomain file on their server.

Hope that helps,
Peter</description>
		<content:encoded><![CDATA[<p>Gabriel,</p>
<p>I uploaded a SWF and the full source code above.<br />
The example works for me using the Flex 3.1 SDK, although I was getting some errors/warnings locally when I tested it. After uploading to the site and running over <a href="http://" rel="nofollow">http://</a> rather than <a href="file:///," rel="nofollow">file:///,</a> everything worked fine.</p>
<p>As for crossdomain issues, you shouldn&#8217;t need a crossdomain file if you&#8217;re just loading files from your own site. If you are loading remote XML from other sites, the other site would need the crossdomain file on their server.</p>
<p>Hope that helps,<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel</title>
		<link>http://blog.flexexamples.com/2007/07/27/loading-xml-at-run-time-using-the-mxhttpservice-tag/#comment-15969</link>
		<author>Gabriel</author>
		<pubDate>Thu, 02 Oct 2008 11:44:28 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/07/27/loading-xml-at-run-time-using-the-mxhttpservice-tag/#comment-15969</guid>
		<description>First of all THANK YOU for this new tutorial Peterd.

Clean, simple.... to much simple maybee i cannot manage make him run.

Actually it runs but it is not loading anything.

I have reproduce your workflow again and again and same issue it wont Merge the xml files containing the value on stage.

FYI i have test others tutorial regarding rss reader or xml injections but still...

I have check the crossdomain system (for instance i have create a crossdomain.xml file in my local folder allowing "*" all the domains).

The only thing i am not sure off is my environment
I am log onto a Microsoft domain.

thank you for your help if you pass by :)

Gabriel.</description>
		<content:encoded><![CDATA[<p>First of all THANK YOU for this new tutorial Peterd.</p>
<p>Clean, simple&#8230;. to much simple maybee i cannot manage make him run.</p>
<p>Actually it runs but it is not loading anything.</p>
<p>I have reproduce your workflow again and again and same issue it wont Merge the xml files containing the value on stage.</p>
<p>FYI i have test others tutorial regarding rss reader or xml injections but still&#8230;</p>
<p>I have check the crossdomain system (for instance i have create a crossdomain.xml file in my local folder allowing &#8220;*&#8221; all the domains).</p>
<p>The only thing i am not sure off is my environment<br />
I am log onto a Microsoft domain.</p>
<p>thank you for your help if you pass by :)</p>
<p>Gabriel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://blog.flexexamples.com/2007/07/27/loading-xml-at-run-time-using-the-mxhttpservice-tag/#comment-6007</link>
		<author>Simon</author>
		<pubDate>Fri, 11 Jan 2008 17:33:39 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/07/27/loading-xml-at-run-time-using-the-mxhttpservice-tag/#comment-6007</guid>
		<description>Note: You also use tempXML.lastResult.CuePoint which is different from the last example.</description>
		<content:encoded><![CDATA[<p>Note: You also use tempXML.lastResult.CuePoint which is different from the last example.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
