<?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: Clearing the video on a Flex VideoDisplay control</title>
	<atom:link href="http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Fri, 19 Mar 2010 20:35:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tom</title>
		<link>http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/comment-page-1/#comment-6055</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Mon, 19 Oct 2009 17:38:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-6055</guid>
		<description>This tip is not working perfectly, I recommend instead, in order to clear the video, to use the visible property (with a Fade effect is terrible!). 

Moreover, use mx_internal stuff is not recommended since it can be remove for future versions of the framework.

--------------------------------------------------------
eBuildy, the web2.0 specialists!</description>
		<content:encoded><![CDATA[<p>This tip is not working perfectly, I recommend instead, in order to clear the video, to use the visible property (with a Fade effect is terrible!). </p>
<p>Moreover, use mx_internal stuff is not recommended since it can be remove for future versions of the framework.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
eBuildy, the web2.0 specialists!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vardan</title>
		<link>http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/comment-page-1/#comment-2284</link>
		<dc:creator>Vardan</dc:creator>
		<pubDate>Thu, 16 Apr 2009 14:09:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-2284</guid>
		<description>Hi Peter,

Sorry, some of my code did not appear properly because of the tags:

UploadVideo.as
public var videoName:String;
public var video:ByteArray;

videosOfStudents = ArrayCollection() // of UploadVideo objects
mx:List id=&quot;cntlMovie&quot; dataProvider=&quot;{modelLocator.videosOfStudents}&quot; width=&quot;300&quot;

mx:VideoDisplay id=&quot;cntlDisp&quot; source=&quot;{cntlMovie.selectedItem.videoName}&quot; width=&quot;100%&quot; height=&quot;100%&quot;

The output I get is:
(TypeError)#0
  errorID = 1009
  message = &quot;Error #1009: Cannot access a property or method of a null object reference.&quot;

Thanks again.


Vardan</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>Sorry, some of my code did not appear properly because of the tags:</p>
<p>UploadVideo.as<br />
public var videoName:String;<br />
public var video:ByteArray;</p>
<p>videosOfStudents = ArrayCollection() // of UploadVideo objects<br />
mx:List id=&#8221;cntlMovie&#8221; dataProvider=&#8221;{modelLocator.videosOfStudents}&#8221; width=&#8221;300&#8243;</p>
<p>mx:VideoDisplay id=&#8221;cntlDisp&#8221; source=&#8221;{cntlMovie.selectedItem.videoName}&#8221; width=&#8221;100%&#8221; height=&#8221;100%&#8221;</p>
<p>The output I get is:<br />
(TypeError)#0<br />
  errorID = 1009<br />
  message = &#8220;Error #1009: Cannot access a property or method of a null object reference.&#8221;</p>
<p>Thanks again.</p>
<p>Vardan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vardan</title>
		<link>http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/comment-page-1/#comment-2285</link>
		<dc:creator>Vardan</dc:creator>
		<pubDate>Thu, 16 Apr 2009 14:04:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-2285</guid>
		<description>Hi Peter,

Great article. One question if you could help, please?

I am trying to play a flv file which is pushed from blazeDS server I am using Cairngorm/modelLocator to get the array of UploadVideo objects:
UploadVideo.as
public var videoName:String;
public var video:ByteArray;

in my mxml I declare a mx:List and assign the arrayCollection objects to my list&#039;s dataProvider
videosOfStudents = ArrayCollection() // of UploadVideo objects


and this is my VideoDisplay component: (videoName is the name of the flv file)


When I click cntlDisp.play(); I get a following error:
(TypeError)#0
  errorID = 1009
  message = &quot;Error #1009: Cannot access a property or method of a null object reference.&quot;

but when I add a flv file locally it works fine.

Any idea?

Thanks.


Vardan</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>Great article. One question if you could help, please?</p>
<p>I am trying to play a flv file which is pushed from blazeDS server I am using Cairngorm/modelLocator to get the array of UploadVideo objects:<br />
UploadVideo.as<br />
public var videoName:String;<br />
public var video:ByteArray;</p>
<p>in my mxml I declare a mx:List and assign the arrayCollection objects to my list&#8217;s dataProvider<br />
videosOfStudents = ArrayCollection() // of UploadVideo objects</p>
<p>and this is my VideoDisplay component: (videoName is the name of the flv file)</p>
<p>When I click cntlDisp.play(); I get a following error:<br />
(TypeError)#0<br />
  errorID = 1009<br />
  message = &#8220;Error #1009: Cannot access a property or method of a null object reference.&#8221;</p>
<p>but when I add a flv file locally it works fine.</p>
<p>Any idea?</p>
<p>Thanks.</p>
<p>Vardan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antoni Jakubiak</title>
		<link>http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/comment-page-1/#comment-2286</link>
		<dc:creator>Antoni Jakubiak</dc:creator>
		<pubDate>Tue, 24 Feb 2009 11:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-2286</guid>
		<description>But, there is also a bug in Flash Player:
http://bugs.adobe.com/jira/browse/SDK-11262
Sometimes Video.clear not works as we expecting.</description>
		<content:encoded><![CDATA[<p>But, there is also a bug in Flash Player:<br />
<a href="http://bugs.adobe.com/jira/browse/SDK-11262" rel="nofollow">http://bugs.adobe.com/jira/browse/SDK-11262</a><br />
Sometimes Video.clear not works as we expecting.</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-page-1/#comment-2290</link>
		<dc:creator>gustavo</dc:creator>
		<pubDate>Mon, 25 Aug 2008 08:58:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-2290</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-page-1/#comment-2289</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Mon, 25 Aug 2008 06:21:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-2289</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=&quot;http://blog.flexexamples.com/2008/08/24/setting-the-volume-on-a-videodisplay-control-in-flex/&quot; rel=&quot;nofollow&quot;&gt;&lt;u&gt;&quot;Setting the volume on a VideoDisplay control in Flex&quot;&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-page-1/#comment-2288</link>
		<dc:creator>gustavo</dc:creator>
		<pubDate>Mon, 25 Aug 2008 05:49:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-2288</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-page-1/#comment-2287</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Tue, 12 Aug 2008 19:59:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-2287</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-page-1/#comment-2283</link>
		<dc:creator>great video tips</dc:creator>
		<pubDate>Wed, 21 May 2008 17:34:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-2283</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-page-1/#comment-2282</link>
		<dc:creator>morphix.ru</dc:creator>
		<pubDate>Sat, 26 Apr 2008 14:42:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/15/clearing-the-video-on-a-flex-videodisplay-control/#comment-2282</guid>
		<description>very helped thank you</description>
		<content:encoded><![CDATA[<p>very helped thank you</p>
]]></content:encoded>
	</item>
</channel>
</rss>
