<?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 - main - 00000139.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-25T07:40:21</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/main/00000139.html#87951" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/main/00000139.html#85979" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/main/00000139.html#85914" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/main/00000139.html#81241" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/main/00000139.html#72513" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/main/00000139.html#87951">
		<title>flash/9.0/main/00000139.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/main/00000139.html#87951</link>
		<description>You shouldn't have to tell the garbage collector to destroy something, if you build your application correctly everything that should get destroyed eventually does.  &lt;br /&gt;&lt;br /&gt;That being said, the FLVPlayback component has a horrible memory leak problem that needs to be fixed.  It should have a dispose() function that frees up any resources that it is using (Timers, EventListeners, and NetConnections).&lt;br /&gt;&lt;br /&gt;I posted a workaround on my site:  http://www.rphelan.com/2008/09/22/flvplayback-memory-leak-fixed/</description>
		<dc:creator>Ryan Phelan</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-09-23T17:25:57</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/main/00000139.html#85979">
		<title>flash/9.0/main/00000139.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/main/00000139.html#85979</link>
		<description>I guess this makes sense in some strange way to keep objects in memory that have subscribed to an event.  But if this is the case, there should be a method for Overriding this for the Garbage Collector.  Or expose some of the internal Events of the Components that are presented by Flash more easily available to removeEventListener.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;example showing the Memory Leak Problem:&lt;br /&gt;Dude go drag an FLVPlayback Component onto the stage and have it play and FLV-----THEN remove the FLVPlayback component with a button---------The video keeps Playing the back ground ------THIS is due to exactly what this article is saying---&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Why shouldn't we be able to say :&lt;br /&gt;&lt;br /&gt;Garbage collector.destroy(FLVPlayback component);----RESULTING in the death of the FLVPlayback component in everyway including the destruction of it's events, the Stream, the displayObject&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For those of us who dont' want to build nor have the time to Build custom Media Player components, this is a big problem....</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-07-22T08:21:41</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/main/00000139.html#85914">
		<title>flash/9.0/main/00000139.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/main/00000139.html#85914</link>
		<description>The first example gives substandard instructions.&lt;br /&gt;&lt;br /&gt;Is the package part of the class an external .as file? If so what is it called.&lt;br /&gt;&lt;br /&gt;This example doesn't work inside flash CS3 Pro. It gives a &quot;1037: Packages cannot be nested&quot; error. I assumed it could just be pasted into the first frame.&lt;br /&gt;&lt;br /&gt;Please fix and expand the instructions to include any UI steps.&lt;br /&gt;&lt;br /&gt;Thanks</description>
		<dc:creator>ElliotRock</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-07-20T03:44:38</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/main/00000139.html#81241">
		<title>flash/9.0/main/00000139.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/main/00000139.html#81241</link>
		<description>yes</description>
		<dc:creator>PGunderson</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-02-27T17:15:37</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/main/00000139.html#72513">
		<title>flash/9.0/main/00000139.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/main/00000139.html#72513</link>
		<description>&quot;One important consequence of this parameter involves working with display objects' events. Normally, you might expect a display object to be removed from memory when it is removed from the display list. However, if other objects have subscribed as listeners to that display object, with the useWeakReference parameter set to false (the default), the display object will continue to exist in Flash Player's memory even though it no longer appears on the screen. To work around this issue, either have all the listeners subscribe to the display object with the useWeakReference parameter set to true, or else remove all the event listeners from the display object using the removeEventListener() method.&quot;&lt;br /&gt;&lt;br /&gt;This does not make sense. There are two roles here: 1) the event dispatcher and 2) the event listener.&lt;br /&gt;&lt;br /&gt;According to the above excerpt, an event dispatcher will never be garbage collected as long as it has other objects listening to it. Is this true?</description>
		<dc:creator>IceCo</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2007-08-22T17:20:52</dc:date>
	</item>
	</rdf:RDF>

