<?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: Clearing the video on a Flex VideoDisplay control</title>
	<link>http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/</link>
	<description>A bunch of examples for Adobe Flex and ActionScript</description>
	<pubDate>Fri, 05 Dec 2008 02:02:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: gustavo</title>
		<link>http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-14915</link>
		<author>gustavo</author>
		<pubDate>Mon, 25 Aug 2008 08:58:22 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-14915</guid>
		<description>peterd,
Thanks, thanks so much!</description>
		<content:encoded><![CDATA[<p>peterd,<br />
Thanks, thanks so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-14912</link>
		<author>peterd</author>
		<pubDate>Mon, 25 Aug 2008 06:21:07 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-14912</guid>
		<description>gustavo,

The VideoDisplay control has a &lt;code&gt;volume&lt;/code&gt; property that you can set to a value between 0 and 1 which sets the volume.

I can probably post an example in a couple minutes: &lt;a href="http://blog.flexexamples.com/2008/08/24/setting-the-volume-on-a-videodisplay-control-in-flex/" rel="nofollow"&gt;&lt;u&gt;"Setting the volume on a VideoDisplay control in Flex"&lt;/u&gt;&lt;/a&gt;.

Peter</description>
		<content:encoded><![CDATA[<p>gustavo,</p>
<p>The VideoDisplay control has a <code>volume</code> property that you can set to a value between 0 and 1 which sets the volume.</p>
<p>I can probably post an example in a couple minutes: <a href="http://blog.flexexamples.com/2008/08/24/setting-the-volume-on-a-videodisplay-control-in-flex/" rel="nofollow"><u>&#8220;Setting the volume on a VideoDisplay control in Flex&#8221;</u></a>.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gustavo</title>
		<link>http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-14911</link>
		<author>gustavo</author>
		<pubDate>Mon, 25 Aug 2008 05:49:29 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-14911</guid>
		<description>How to add volume control? Is it possible?</description>
		<content:encoded><![CDATA[<p>How to add volume control? Is it possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-14653</link>
		<author>Jason</author>
		<pubDate>Tue, 12 Aug 2008 19:59:10 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-14653</guid>
		<description>This was a great find to be able to clear out the VideoDisplay object.  However, I have found that when your video has been encoded with an alpha channel, this clear method does not work.  Anyone have any ideas of why this method would not work with transparent video?</description>
		<content:encoded><![CDATA[<p>This was a great find to be able to clear out the VideoDisplay object.  However, I have found that when your video has been encoded with an alpha channel, this clear method does not work.  Anyone have any ideas of why this method would not work with transparent video?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: great video tips</title>
		<link>http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-12844</link>
		<author>great video tips</author>
		<pubDate>Wed, 21 May 2008 17:34:30 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-12844</guid>
		<description>great video display control tips.
I may apply this tips on one of my site project.
thanks</description>
		<content:encoded><![CDATA[<p>great video display control tips.<br />
I may apply this tips on one of my site project.<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: morphix.ru</title>
		<link>http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-12307</link>
		<author>morphix.ru</author>
		<pubDate>Sat, 26 Apr 2008 14:42:09 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-12307</guid>
		<description>very helped thank you</description>
		<content:encoded><![CDATA[<p>very helped thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-6211</link>
		<author>peterd</author>
		<pubDate>Sat, 19 Jan 2008 05:39:24 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-6211</guid>
		<description>adam,

Excellent tip! I totally forgot about the &lt;code&gt;use namespace&lt;/code&gt; solution. It really could apply to any of the solutions above, but since pption 1 is probably the most easily copy-paste-able:
&lt;pre class="code"&gt;
&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;!-- http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/ --&#62;
&#60;mx:Application xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
        layout=&#34;vertical&#34;
        verticalAlign=&#34;middle&#34;
        backgroundColor=&#34;white&#34; viewSourceURL=&#34;srcview/index.html&#34;&#62;

    &#60;mx:Script&#62;
        &#60;![CDATA[
            import mx.core.mx_internal;
            
            &lt;strong style="color:red;"&gt;use namespace mx_internal;&lt;/strong&gt;
        ]]&#62;
    &#60;/mx:Script&#62;

    &#60;mx:VideoDisplay id=&#34;videoDisplay&#34;
            source=&#34;http://www.helpexamples.com/flash/video/cuepoints.flv&#34; /&#62;

    &#60;mx:Button label=&#34;pause&#34;
            click=&#34;videoDisplay.pause();&#34; /&#62;
    &#60;mx:Button label=&#34;clear&#34;
            click=&#34;&lt;strong style="color:red;"&gt;videoDisplay.videoPlayer.clear();&lt;/strong&gt;&#34; /&#62;

&#60;/mx:Application&#62;
&lt;/pre&gt;

Peter</description>
		<content:encoded><![CDATA[<p>adam,</p>
<p>Excellent tip! I totally forgot about the <code>use namespace</code> solution. It really could apply to any of the solutions above, but since pption 1 is probably the most easily copy-paste-able:</p>
<pre class="code">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;!-- <a href="http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/" rel="nofollow">http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/</a> &#8211;&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
        layout=&quot;vertical&quot;
        verticalAlign=&quot;middle&quot;
        backgroundColor=&quot;white&quot; viewSourceURL=&quot;srcview/index.html&quot;&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            import mx.core.mx_internal;

            <strong style="color:red;">use namespace mx_internal;</strong>
        ]]&gt;
    &lt;/mx:Script&gt;

    &lt;mx:VideoDisplay id=&quot;videoDisplay&quot;
            source=&quot;http://www.helpexamples.com/flash/video/cuepoints.flv&quot; /&gt;

    &lt;mx:Button label=&quot;pause&quot;
            click=&quot;videoDisplay.pause();&quot; /&gt;
    &lt;mx:Button label=&quot;clear&quot;
            click=&quot;<strong style="color:red;">videoDisplay.videoPlayer.clear();</strong>&quot; /&gt;

&lt;/mx:Application&gt;
</pre>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adam</title>
		<link>http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-6118</link>
		<author>adam</author>
		<pubDate>Tue, 15 Jan 2008 19:53:08 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-6118</guid>
		<description>Why don't you have to use

use namespace mx_internal;

or better yet, when do I have to use that statement.

thanks for this tutorial btw. i was trying to clear a videodisplay yesterday.</description>
		<content:encoded><![CDATA[<p>Why don&#8217;t you have to use</p>
<p>use namespace mx_internal;</p>
<p>or better yet, when do I have to use that statement.</p>
<p>thanks for this tutorial btw. i was trying to clear a videodisplay yesterday.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
