<?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: Flash AS3 FLVPlayback Component Bug?</title>
	<atom:link href="http://www.yapiodesign.com/blog/2008/11/21/flash-as3-flvplayback-component-bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yapiodesign.com/blog/2008/11/21/flash-as3-flvplayback-component-bug/</link>
	<description>Flash tidbits, struggles, revelations, and teaching</description>
	<lastBuildDate>Tue, 11 Aug 2009 20:53:01 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: John O</title>
		<link>http://www.yapiodesign.com/blog/2008/11/21/flash-as3-flvplayback-component-bug/comment-page-1/#comment-729</link>
		<dc:creator>John O</dc:creator>
		<pubDate>Mon, 01 Dec 2008 20:50:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.yapiodesign.com/blog/2008/11/21/flash-as3-flvplayback-component-bug/#comment-729</guid>
		<description>Joeflash - 
I actually had given my students the work-around of leaving the video offstage at all times.  But having many of them come from Flash CS3/AS2 background or Flash level 1 (drawing and animating only), this is something that always worked for them in the past, and &quot;breaks&quot; now.  Its easy to get into discussions about GC with developers, but new students have a rough time starting out with discussions on it.   Particularly when they are just learning ActionScript.  

I&#039;d still classify this as a bug with the component (even though it may not be technically) and not a design flaw, because Adobe shouldn&#039;t expect new students to understand and implement garbage collection for a simple video player and when using frame labels.</description>
		<content:encoded><![CDATA[<p>Joeflash &#8211;<br />
I actually had given my students the work-around of leaving the video offstage at all times.  But having many of them come from Flash CS3/AS2 background or Flash level 1 (drawing and animating only), this is something that always worked for them in the past, and &#8220;breaks&#8221; now.  Its easy to get into discussions about GC with developers, but new students have a rough time starting out with discussions on it.   Particularly when they are just learning ActionScript.  </p>
<p>I&#8217;d still classify this as a bug with the component (even though it may not be technically) and not a design flaw, because Adobe shouldn&#8217;t expect new students to understand and implement garbage collection for a simple video player and when using frame labels.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joeflash</title>
		<link>http://www.yapiodesign.com/blog/2008/11/21/flash-as3-flvplayback-component-bug/comment-page-1/#comment-721</link>
		<dc:creator>Joeflash</dc:creator>
		<pubDate>Sun, 23 Nov 2008 10:04:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.yapiodesign.com/blog/2008/11/21/flash-as3-flvplayback-component-bug/#comment-721</guid>
		<description>That&#039;s not a bug in the component, that&#039;s a failure of design. What you&#039;ve done is remove the component from the display list, but the references to the Netstream object is still present, so the sound is never garbage-collected. If you want the audio to be GC&#039;ed without actually stopping the video, your only option is to use FP10&#039;s unloadAndStop() method, and maybe the GC will kick in, eventually. The surest bet is to actually call flvpb.pause() or stop() before you navigate away to another frame. Even better, pause the video and make the component alpha equal to zero, or move it off-stage. Re-instantiation of the component is expensive memory-wise, so you&#039;d do best to not delete the component if want to hide it. I&#039;d even suggest creating a custom function that calls flvpb.pause/stop() and moves the instance off-stage if you want the component to disappear, rather than deleting it and having to deal with garbage-collection issues.</description>
		<content:encoded><![CDATA[<p>That&#8217;s not a bug in the component, that&#8217;s a failure of design. What you&#8217;ve done is remove the component from the display list, but the references to the Netstream object is still present, so the sound is never garbage-collected. If you want the audio to be GC&#8217;ed without actually stopping the video, your only option is to use FP10&#8217;s unloadAndStop() method, and maybe the GC will kick in, eventually. The surest bet is to actually call flvpb.pause() or stop() before you navigate away to another frame. Even better, pause the video and make the component alpha equal to zero, or move it off-stage. Re-instantiation of the component is expensive memory-wise, so you&#8217;d do best to not delete the component if want to hide it. I&#8217;d even suggest creating a custom function that calls flvpb.pause/stop() and moves the instance off-stage if you want the component to disappear, rather than deleting it and having to deal with garbage-collection issues.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
