<?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: Dynamically creating new FLVPlayback control instance in Flash using ActionScript 3.0</title>
	<atom:link href="http://actionscriptexamples.com/2008/12/19/dynamically-creating-new-flvplayback-control-instance-in-flash-using-actionscript-30/feed/" rel="self" type="application/rss+xml" />
	<link>http://actionscriptexamples.com/2008/12/19/dynamically-creating-new-flvplayback-control-instance-in-flash-using-actionscript-30/</link>
	<description>A bunch of ActionScript 2.0 and ActionScript 3.0 examples*</description>
	<lastBuildDate>Fri, 19 Mar 2010 23:35:10 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: emena</title>
		<link>http://actionscriptexamples.com/2008/12/19/dynamically-creating-new-flvplayback-control-instance-in-flash-using-actionscript-30/comment-page-1/#comment-413</link>
		<dc:creator>emena</dc:creator>
		<pubDate>Fri, 13 Mar 2009 15:58:17 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/?p=277#comment-413</guid>
		<description>I did just that and it works fine until I tried to removed on the next action.

Do you have any idea how it&#039;s done?

When I remove it gives me this on the output: ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
	at flash.display::DisplayObjectContainer/removeChild()
	at index_fla::MainTimeline/cos()

The function I&#039;m using to remove it is:

function cos(event):void {
	removeChild(myFLVPlayback);
}</description>
		<content:encoded><![CDATA[<p>I did just that and it works fine until I tried to removed on the next action.</p>
<p>Do you have any idea how it&#8217;s done?</p>
<p>When I remove it gives me this on the output: ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.<br />
	at flash.display::DisplayObjectContainer/removeChild()<br />
	at index_fla::MainTimeline/cos()</p>
<p>The function I&#8217;m using to remove it is:</p>
<p>function cos(event):void {<br />
	removeChild(myFLVPlayback);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Beto Aveiga</title>
		<link>http://actionscriptexamples.com/2008/12/19/dynamically-creating-new-flvplayback-control-instance-in-flash-using-actionscript-30/comment-page-1/#comment-403</link>
		<dc:creator>Beto Aveiga</dc:creator>
		<pubDate>Fri, 06 Mar 2009 23:35:21 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/?p=277#comment-403</guid>
		<description>Hi Peter! I&#039;m here again... I can say that I &quot;fix&quot; my mistake.

The problem was that I was adding the FLVPlayback component to the stage without adding the instance that was containing it.

So, adding an instance to the stage means almost nothing if there&#039;s an instance wrapping it that wasn&#039;t previously added to stage. (espero que mi inglés se deje entender)

Thanks again,
Beto</description>
		<content:encoded><![CDATA[<p>Hi Peter! I&#8217;m here again&#8230; I can say that I &#8220;fix&#8221; my mistake.</p>
<p>The problem was that I was adding the FLVPlayback component to the stage without adding the instance that was containing it.</p>
<p>So, adding an instance to the stage means almost nothing if there&#8217;s an instance wrapping it that wasn&#8217;t previously added to stage. (espero que mi inglés se deje entender)</p>
<p>Thanks again,<br />
Beto</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Beto Aveiga</title>
		<link>http://actionscriptexamples.com/2008/12/19/dynamically-creating-new-flvplayback-control-instance-in-flash-using-actionscript-30/comment-page-1/#comment-402</link>
		<dc:creator>Beto Aveiga</dc:creator>
		<pubDate>Fri, 06 Mar 2009 23:23:42 +0000</pubDate>
		<guid isPermaLink="false">http://actionscriptexamples.com/?p=277#comment-402</guid>
		<description>Hi Peter! 

I&#039;m trying to add a FLVPlayback with an AS3 package (using an instance) to the stage through addChild , but I&#039;m having trouble because the video doesn&#039;t show up, I only can hear the sound. I try setting the &quot;View all&quot; option, but nothing appears, just the sound.

Any idea?? Thanks for the post, for your time and for your response.
Beto</description>
		<content:encoded><![CDATA[<p>Hi Peter! </p>
<p>I&#8217;m trying to add a FLVPlayback with an AS3 package (using an instance) to the stage through addChild , but I&#8217;m having trouble because the video doesn&#8217;t show up, I only can hear the sound. I try setting the &#8220;View all&#8221; option, but nothing appears, just the sound.</p>
<p>Any idea?? Thanks for the post, for your time and for your response.<br />
Beto</p>
]]></content:encoded>
	</item>
</channel>
</rss>
