<?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: Detecting a connection error when loading an FLV with the VideoDisplay control</title>
	<link>http://blog.flexexamples.com/2007/07/23/detecting-a-connection-error-when-loading-an-flv-with-the-videodisplay-control/</link>
	<description>A bunch of examples for Adobe Flex and ActionScript</description>
	<pubDate>Tue, 06 Jan 2009 06:19:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/07/23/detecting-a-connection-error-when-loading-an-flv-with-the-videodisplay-control/#comment-15947</link>
		<author>peterd</author>
		<pubDate>Mon, 29 Sep 2008 21:10:23 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/07/23/detecting-a-connection-error-when-loading-an-flv-with-the-videodisplay-control/#comment-15947</guid>
		<description>FYI, I filed a new bug at http://bugs.adobe.com/jira/browse/SDK-17101 for the &lt;code&gt;connectionError&lt;/code&gt; state locking the VideoDisplay control. Feel free to vote/comment (preferrably constructive). Also, if anybody has a better workaround, please add it to the bug notes.

Peter</description>
		<content:encoded><![CDATA[<p>FYI, I filed a new bug at <a href="http://bugs.adobe.com/jira/browse/SDK-17101" rel="nofollow">http://bugs.adobe.com/jira/browse/SDK-17101</a> for the <code>connectionError</code> state locking the VideoDisplay control. Feel free to vote/comment (preferrably constructive). Also, if anybody has a better workaround, please add it to the bug notes.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chas</title>
		<link>http://blog.flexexamples.com/2007/07/23/detecting-a-connection-error-when-loading-an-flv-with-the-videodisplay-control/#comment-15945</link>
		<author>Chas</author>
		<pubDate>Mon, 29 Sep 2008 19:55:08 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/07/23/detecting-a-connection-error-when-loading-an-flv-with-the-videodisplay-control/#comment-15945</guid>
		<description>Yeah, the problem here gents is once the videoDisplay has gotten a bad source, it is completely broken and will not play a good one (without recreating the videoDisplay).  UGH.  Terrible coding from the boys at adobe, hope they fix it in the next Flex version...</description>
		<content:encoded><![CDATA[<p>Yeah, the problem here gents is once the videoDisplay has gotten a bad source, it is completely broken and will not play a good one (without recreating the videoDisplay).  UGH.  Terrible coding from the boys at adobe, hope they fix it in the next Flex version&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CeeJ</title>
		<link>http://blog.flexexamples.com/2007/07/23/detecting-a-connection-error-when-loading-an-flv-with-the-videodisplay-control/#comment-14679</link>
		<author>CeeJ</author>
		<pubDate>Wed, 13 Aug 2008 15:41:10 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/07/23/detecting-a-connection-error-when-loading-an-flv-with-the-videodisplay-control/#comment-14679</guid>
		<description>Done.  Number is &lt;a href="http://bugs.adobe.com/jira/browse/SDK-16455" rel="nofollow"&gt;&lt;u&gt;SDK-16455&lt;/u&gt;&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Done.  Number is <a href="http://bugs.adobe.com/jira/browse/SDK-16455" rel="nofollow"><u>SDK-16455</u></a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/07/23/detecting-a-connection-error-when-loading-an-flv-with-the-videodisplay-control/#comment-14677</link>
		<author>peterd</author>
		<pubDate>Wed, 13 Aug 2008 15:19:20 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/07/23/detecting-a-connection-error-when-loading-an-flv-with-the-videodisplay-control/#comment-14677</guid>
		<description>CeeJ,

Can you please file a bug/enhancement request at http://bugs.adobe.com/flex/ and post the bug number here?

Peter</description>
		<content:encoded><![CDATA[<p>CeeJ,</p>
<p>Can you please file a bug/enhancement request at <a href="http://bugs.adobe.com/flex/" rel="nofollow">http://bugs.adobe.com/flex/</a> and post the bug number here?</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CeeJ</title>
		<link>http://blog.flexexamples.com/2007/07/23/detecting-a-connection-error-when-loading-an-flv-with-the-videodisplay-control/#comment-14675</link>
		<author>CeeJ</author>
		<pubDate>Wed, 13 Aug 2008 14:45:31 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/07/23/detecting-a-connection-error-when-loading-an-flv-with-the-videodisplay-control/#comment-14675</guid>
		<description>This just what I was looking for... thanks!

Here's another question, though.  This code will throw the error when the file is missing or unavailable.  However, it doesn't seem to throw an error if the file is not a valid FLV file.

To test, I made a simple 0 byte text file, renamed it test.flv, and tried to load it.  I traced the VideoDisplay's state changes, but all I see is "loading" and "buffering," and the application is stuck there.  No connectionError.  Any idea how one might test for validity of a FLV before attempting to play it?</description>
		<content:encoded><![CDATA[<p>This just what I was looking for&#8230; thanks!</p>
<p>Here&#8217;s another question, though.  This code will throw the error when the file is missing or unavailable.  However, it doesn&#8217;t seem to throw an error if the file is not a valid FLV file.</p>
<p>To test, I made a simple 0 byte text file, renamed it test.flv, and tried to load it.  I traced the VideoDisplay&#8217;s state changes, but all I see is &#8220;loading&#8221; and &#8220;buffering,&#8221; and the application is stuck there.  No connectionError.  Any idea how one might test for validity of a FLV before attempting to play it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Durairaj</title>
		<link>http://blog.flexexamples.com/2007/07/23/detecting-a-connection-error-when-loading-an-flv-with-the-videodisplay-control/#comment-14586</link>
		<author>Durairaj</author>
		<pubDate>Sat, 09 Aug 2008 22:54:03 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/07/23/detecting-a-connection-error-when-loading-an-flv-with-the-videodisplay-control/#comment-14586</guid>
		<description>Bram

Inside the error event you can reassign the source to some other alternative file.give an id for VideoDisplay  and use VideoDisplay id .source=alternative file.
hope this helps..</description>
		<content:encoded><![CDATA[<p>Bram</p>
<p>Inside the error event you can reassign the source to some other alternative file.give an id for VideoDisplay  and use VideoDisplay id .source=alternative file.<br />
hope this helps..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bram</title>
		<link>http://blog.flexexamples.com/2007/07/23/detecting-a-connection-error-when-loading-an-flv-with-the-videodisplay-control/#comment-12698</link>
		<author>Bram</author>
		<pubDate>Thu, 15 May 2008 10:57:23 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/07/23/detecting-a-connection-error-when-loading-an-flv-with-the-videodisplay-control/#comment-12698</guid>
		<description>Is there a way to recover from this unresponsive state? How can we provide an alternative file when the error occurs?

Thanks</description>
		<content:encoded><![CDATA[<p>Is there a way to recover from this unresponsive state? How can we provide an alternative file when the error occurs?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
