<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: VideoEvent.BUFFERING_STATE_ENTERED &#8211; workaround</title>
	<atom:link href="http://www.jeffdepascale.com/index.php/flash/videoeventbuffering_state_entered-workaround/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jeffdepascale.com/index.php/flash/videoeventbuffering_state_entered-workaround/</link>
	<description>Blogging on and developing web and mobile technologies</description>
	<lastBuildDate>Wed, 14 Jul 2010 19:52:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Jeff dePascale</title>
		<link>http://www.jeffdepascale.com/index.php/flash/videoeventbuffering_state_entered-workaround/comment-page-1/#comment-73</link>
		<dc:creator>Jeff dePascale</dc:creator>
		<pubDate>Sat, 18 Jul 2009 18:59:39 +0000</pubDate>
		<guid isPermaLink="false">http://jeffdepascale.com/news/?p=3#comment-73</guid>
		<description>That&#039;s a clean and simple solution, thanks Brendan!

-Jeff</description>
		<content:encoded><![CDATA[<p>That&#8217;s a clean and simple solution, thanks Brendan!</p>
<p>-Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brendan</title>
		<link>http://www.jeffdepascale.com/index.php/flash/videoeventbuffering_state_entered-workaround/comment-page-1/#comment-72</link>
		<dc:creator>brendan</dc:creator>
		<pubDate>Fri, 17 Jul 2009 21:13:22 +0000</pubDate>
		<guid isPermaLink="false">http://jeffdepascale.com/news/?p=3#comment-72</guid>
		<description>I came across the exact same problem which led me to your post here. Basically I&#039;ve also concluded that the bufferingBar component is worthless and doesn&#039;t really behave how I want it to.... seems like it ought to be a class with accessible methods and properties so you could change timing or whatever else... anyway I ended up making my own, doing a boolean to check for pauses not initiated by the video catching up to the buffer threshold, and listening for STATE_CHANGE and checking the .state property of the event to handle different states, rather than doing separate listeners for BUFFERING_STATE_ENTERED, PLAYING_STATE_ENTERED etc.
i.e.

private function doStateChange(e:VideoEvent):void {
        if (e.state == &quot;buffering&quot; &#124;&#124; e.state == &quot;loading&quot;) {
        	showBuffer();
        }


and so on.  Anyway thanks for validating my confusion, your post helped me figure this out.</description>
		<content:encoded><![CDATA[<p>I came across the exact same problem which led me to your post here. Basically I&#8217;ve also concluded that the bufferingBar component is worthless and doesn&#8217;t really behave how I want it to&#8230;. seems like it ought to be a class with accessible methods and properties so you could change timing or whatever else&#8230; anyway I ended up making my own, doing a boolean to check for pauses not initiated by the video catching up to the buffer threshold, and listening for STATE_CHANGE and checking the .state property of the event to handle different states, rather than doing separate listeners for BUFFERING_STATE_ENTERED, PLAYING_STATE_ENTERED etc.<br />
i.e.</p>
<p>private function doStateChange(e:VideoEvent):void {<br />
        if (e.state == &#8220;buffering&#8221; || e.state == &#8220;loading&#8221;) {<br />
        	showBuffer();<br />
        }</p>
<p>and so on.  Anyway thanks for validating my confusion, your post helped me figure this out.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
