<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - flash - 9.0 - ActionScriptLangRefV3 - flash/net/URLLoader.html</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-25T15:41:27</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#85626" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#85240" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#83605" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#82899" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#81399" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#79138" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#78501" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#75277" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#74084" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#73995" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#73588" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#68909" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#85626">
		<title>flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#85626</link>
		<description>If errors are not firing in your deployment, log a bug here:&lt;br&gt;https://bugs.adobe.com/flashplayer/&lt;br&gt;&lt;br&gt;and be very explicit about the code you're using and deployment environment, including any security considerations (sandbox, policy files, etc.)</description>
		<dc:creator>djtechwriter</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2008-07-10T12:04:42</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#85240">
		<title>flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#85240</link>
		<description>urlloader file/link-not found errors doesnt seem to work. &lt;br /&gt;&lt;br /&gt;djtechwriter: it seems you your test was wrong. can you get http-error or http &quot;0&quot; response when you are testing an swf deployed online against a false adress?  i can't. &lt;br /&gt;&lt;br /&gt;i can only get that if i test it online. it would be great if you could take a look again and see if you get it to work ! &lt;br /&gt;&lt;br /&gt;please explain how to do then ;)</description>
		<dc:creator>arndt123</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-06-26T05:58:06</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#83605">
		<title>flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#83605</link>
		<description>@alphahydra:&lt;br /&gt;That's impossible.  Assume the values of your variables are &quot;bob&quot; and &lt;br /&gt;&quot;mypassword&quot;, respectively.  The output of your PHP script would then be &lt;br /&gt;&quot;bobmypassword&quot;.  There's no way to parse this text and know how many &lt;br /&gt;variables there were initially or what their values were.</description>
		<dc:creator>matthew at exanimo</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-05-01T08:17:02</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#82899">
		<title>flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#82899</link>
		<description>I can not understand why adobe set up the Flash compiler to only handle name/value pairs. It should be done like this: in php you have a variable, lets say $username. You then echo $username. On the Flash side you could receive it like this event.target.data.username now would that be so hard? or go one step more and call two variables from php&lt;br /&gt;&lt;br /&gt;In PHP&lt;br /&gt;echo $username&lt;br /&gt;echo $password&lt;br /&gt;&lt;br /&gt;In Flash&lt;br /&gt;&lt;br /&gt;var name = event.target.data.username&lt;br /&gt;var pass = event.target.data.password&lt;br /&gt;&lt;br /&gt;very logical why can't this be done?</description>
		<dc:creator>alphahydra</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-04-11T04:56:40</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#81399">
		<title>flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#81399</link>
		<description>&quot;djtechwriter said on Sep 26, 2007 at 5:11 PM :&lt;br /&gt;&lt;br /&gt;    I just tested this using a completely invalid URL (and remove the catch block) and the events are fired and traced. It takes a minute or so for the output to appear. Also, notice that the HTTPStatusEvent status value is 0. This page:&lt;br /&gt;    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/events/HTTPStatusEvent.html&lt;br /&gt;    states:&lt;br /&gt;    If Flash Player cannot get a status code from the server, or if it cannot communicate with the server, the default value of 0 is passed to your ActionScript code.&quot;&lt;br /&gt;&lt;br /&gt;djtechwriter: Did you really test this properly? You will get all those errors/events if you run the script locally in a development environ, but not if you compile a swf and put it online. When the swf is online, you will not get an IOError at all if the server is down. On perhaps 50% of mac browsers I have tested  you will not get any httpresponses either.&lt;br /&gt;&lt;br /&gt;This means that your only option is using a homebuilt timeout-timer, but that doesnt work either if you are trying to upload a larget amount of data (say 200 kb), as this could take some time on a slow connection. &lt;br /&gt;&lt;br /&gt;Does anyone have any other suggestion of how to do this? I want to catch if the server is down, but i don;t know how long to let the script wait?</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-03-03T01:18:28</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#79138">
		<title>flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#79138</link>
		<description>&lt; djtechwriter said on Sep 26, 2007 at 5:11 PM :&lt;br /&gt;    I just tested this using a completely invalid URL (and remove the catch block) and the events are fired and traced. /&gt;&lt;br /&gt;&lt;br /&gt;I'm having the same issue with URLLoader: If server is not reachable IO_ERROR event is not fired. HTTP_STATUS event is not fired either. So 0 or non 0, you can't get it to work unless Timer is involved...</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-01-02T19:19:05</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#78501">
		<title>flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#78501</link>
		<description>I am having trouble with the URLLoader loading xml from a php script. Everything works fine, but if the XML being loaded is larger than about 10K, the flash player hangs for several seconds. I am fairly certain that the problem is something &quot;under the hood&quot; of URLLoader and not in my code because it happens before my code receives the &quot;complete&quot; event and sometimes even before the last &quot;progress&quot; event. I though about the culprit being a network or server issue, but even if that were the case the URLLoader process is asynchronous, so it should not cause the whole player to hang, right?</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2007-12-14T11:53:53</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#75277">
		<title>flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#75277</link>
		<description>I was wondering if it could happen that, by instantiating the loader object  within a function without any other references but the local one, the garbage collection would kick in and remove the loader object before it has finished loading? A similar behaviour has been reported on LiveDocs in the comments about the tween class, and i fear that it could apply to URLLoader too.&lt;br /&gt;In addiction, i found this problem reported in a blog, but i don't know if external links can be posted here.&lt;br /&gt;&lt;br /&gt;Best regards, &lt;br /&gt;Francesco.</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2007-10-19T08:45:41</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#74084">
		<title>flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#74084</link>
		<description>I just tested this using a completely invalid URL (and remove the catch block) and the events are fired and traced. It takes a minute or so for the output to appear. Also, notice that the HTTPStatusEvent status value is 0. This page:&lt;br&gt;http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/events/HTTPStatusEvent.html&lt;br&gt;states:&lt;br&gt;If Flash Player cannot get a status code from the server, or if it cannot communicate with the server, the default value of 0 is passed to your ActionScript code.&lt;br&gt;&lt;br&gt;So, you should be able to check for status value of 0, instead of using a timer.</description>
		<dc:creator>djtechwriter</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2007-09-26T17:11:40</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#73995">
		<title>flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#73995</link>
		<description>Agreed.  I'm also unsure if this example is accurate because in my tests the loader is NOT throwing Errors.  The error handlers will handle error events, but the catch block only executes if I explicitly throw an error from the error event handlers.</description>
		<dc:creator>michael.prescott</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2007-09-25T07:38:10</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#73588">
		<title>flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#73588</link>
		<description>It should be mentioned that while doing an URLLoader.load() if the SERVER specified is unreachable (down or does not exist) you will not receive an IOError / failure event or an event of any kind. Your best bet is using a timeout timer.</description>
		<dc:creator>markledford</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2007-09-12T14:41:22</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#68909">
		<title>flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html#68909</link>
		<description>I built an application that uses URLLoader to receive a string of name/value pairs from a php app and parsed into a URLVariables object. The documentation, as well as error messages, I kept reading, led me to believe that I had to have php return a &quot;URL-encoded&quot; query string in order for the URLVariables object to parse that information. Here is the error message I received:&lt;br /&gt;&lt;br /&gt;Error: Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs.&lt;br /&gt;&lt;br /&gt;This is misleading, because, in fact, the query string returned (by the server-side app) MUST NOT be url-encoded. I was using php's urlencode() function to convert my name/value pair string into a URL-encoded version and flash kept throwing an error. Only when I ran an experiment did I realize that the returned string must be in the form, &lt;br /&gt;&lt;br /&gt;&quot;name=this is a value&amp;name=this is a value&amp;name=this is a value&quot;&lt;br /&gt;&lt;br /&gt;--without the special character replacements as defined by the 'application/x-www-form-urlencoded' media type.</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2007-06-23T11:00:53</dc:date>
	</item>
	</rdf:RDF>

