<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>中文Flex例子 &#187; VideoPlayer</title>
	<atom:link href="http://blog.minidx.com/category/flex/videoplayer-flex/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.minidx.com</link>
	<description>中文Adobe Flex例子,Flex实例教程,RIA资源,全文检索技术,算法和数据结构</description>
	<lastBuildDate>Thu, 31 Mar 2011 03:22:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flex 4中如何检测Spark VideoPlayer载入多媒体文件时是否发生错误的例子</title>
		<link>http://blog.minidx.com/2009/12/16/3072.html</link>
		<comments>http://blog.minidx.com/2009/12/16/3072.html#comments</comments>
		<pubDate>Wed, 16 Dec 2009 14:38:56 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[VideoPlayer]]></category>
		<category><![CDATA[mediaPlayerStateChange]]></category>
		<category><![CDATA[playbackError]]></category>
		<category><![CDATA[state]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=3072</guid>
		<description><![CDATA[接下来的例子演示了Flex 4中如何通过监测mediaPlayerStateChange事件以及检查playbackError的状态， 检测Spark VideoPlayer载入多媒体文件时是否发生错误。








下面是main.mxml：
&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;s:Application&#160;name=&#34;Spark_VideoPlayer_mediaPlayerStateChange_playbackError_test&#34;
&#160; &#160; &#160; &#160; xmlns:fx=&#34;http://ns.adobe.com/mxml/2009&#34;
&#160; &#160; &#160; &#160; xmlns:s=&#34;library://ns.adobe.com/flex/spark&#34;&#62;
&#160; &#160; &#60;s:controlBarContent&#62;
&#160; &#160; &#160; &#160; &#60;s:Button&#160;label=&#34;Good source&#34; click=&#34;vidPlyr.source = goodStream;&#34; /&#62;
&#160; &#160; &#160; &#160; &#60;s:Button&#160;label=&#34;Bad source&#34; click=&#34;vidPlyr.source = badStream;&#34; /&#62;
&#160; &#160; &#60;/s:controlBarContent&#62;
&#160;
&#160; &#160; &#60;fx:Script&#62;
&#160; &#160; &#160; &#160; &#60;![CDATA[
&#160; &#160; &#160; &#160; &#160; &#160; import mx.controls.Alert;
&#160; &#160; &#160; &#160; &#160; &#160; import [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/12/16/3072.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Flex 4中如何检测VideoPlayer卷是否改变的例子</title>
		<link>http://blog.minidx.com/2009/10/06/2963.html</link>
		<comments>http://blog.minidx.com/2009/10/06/2963.html#comments</comments>
		<pubDate>Tue, 06 Oct 2009 13:12:50 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[VideoPlayer]]></category>
		<category><![CDATA[volume]]></category>
		<category><![CDATA[volumeChanged]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2963</guid>
		<description><![CDATA[接下来的例子演示了Flex 4中如何通过监听volumeChanged事件，检测VideoPlayer卷是否改变。
让我们先来看一下Demo（可以点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
下面是main.mxml：
&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;s:Application&#160;name=&#34;Spark_VideoPlayer_volumeChanged_test&#34;
&#160; &#160; &#160; &#160; xmlns:fx=&#34;http://ns.adobe.com/mxml/2009&#34;
&#160; &#160; &#160; &#160; xmlns:s=&#34;library://ns.adobe.com/flex/spark&#34;
&#160; &#160; &#160; &#160; xmlns:mx=&#34;library://ns.adobe.com/flex/halo&#34;&#62;
&#160;
&#160; &#160; &#60;fx:Script&#62;
&#160; &#160; &#160; &#160; &#60;![CDATA[
&#160; &#160; &#160; &#160; &#160; &#160; private function init():void {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; videoPlayer.addEventListener(&#34;volumeChanged&#34;, videoPlayer_volumeChanged);
&#160; &#160; &#160; &#160; &#160; &#160; }
&#160;
&#160; &#160; &#160; &#160; &#160; &#160; private function videoPlayer_volumeChanged(evt:Event):void {
&#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/10/06/2963.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex 4中如何设置VideoPlayer全屏工具栏自动隐藏延迟的例子</title>
		<link>http://blog.minidx.com/2009/10/01/2954.html</link>
		<comments>http://blog.minidx.com/2009/10/01/2954.html#comments</comments>
		<pubDate>Thu, 01 Oct 2009 00:44:46 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[VideoPlayer]]></category>
		<category><![CDATA[fullScreenHideControlsDelay]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2954</guid>
		<description><![CDATA[接下来的例子演示了Flex 4中如何通过fullScreenHideControlsDelay样式，设置VideoPlayer全屏工具栏自动隐藏延迟。 








下面是main.mxml：
&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;s:Application&#160;name=&#34;Spark_VideoPlayer_fullScreenHideControlsDelay_test&#34;
&#160; &#160; &#160; &#160; xmlns:fx=&#34;http://ns.adobe.com/mxml/2009&#34;
&#160; &#160; &#160; &#160; xmlns:s=&#34;library://ns.adobe.com/flex/spark&#34;
&#160; &#160; &#160; &#160; xmlns:mx=&#34;library://ns.adobe.com/flex/halo&#34;&#62;
&#160;
&#160; &#160; &#60;mx:ApplicationControlBar&#160;width=&#34;100%&#34; cornerRadius=&#34;0&#34;&#62;
&#160; &#160; &#160; &#160; &#60;mx:Form&#160;styleName=&#34;plain&#34;&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:FormItem&#160;label=&#34;fullScreenHideControlsDelay:&#34;&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#60;s:HSlider&#160;id=&#34;slider&#34;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; minimum=&#34;1000&#34;
&#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/10/01/2954.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex Gumbo中如何设置VideoPlayer从头开始播放间隔的例子</title>
		<link>http://blog.minidx.com/2009/09/14/2921.html</link>
		<comments>http://blog.minidx.com/2009/09/14/2921.html#comments</comments>
		<pubDate>Mon, 14 Sep 2009 13:03:24 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[VideoPlayer]]></category>
		<category><![CDATA[playheadUpdateInterval]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2921</guid>
		<description><![CDATA[接下来的例子演示了Flex Gumbo中如何通过设置playheadUpdateInterval属性，设置VideoPlayer从头开始播放间隔。 
让我们先来看一下Demo（可以点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
下面是main.mxml：
&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;s:Application&#160;name=&#34;Spark_VideoPlayer_VideoElement_flVideoPlayer_playheadUpdateInterval_test&#34;
&#160; &#160; &#160; &#160; xmlns:fx=&#34;http://ns.adobe.com/mxml/2009&#34;
&#160; &#160; &#160; &#160; xmlns:s=&#34;library://ns.adobe.com/flex/spark&#34;
&#160; &#160; &#160; &#160; xmlns:mx=&#34;library://ns.adobe.com/flex/halo&#34;&#62;
&#160;
&#160; &#160; &#60;fx:Script&#62;
&#160; &#160; &#160; &#160; &#60;![CDATA[
&#160; &#160; &#160; &#160; &#160; &#160; import fl.video.VideoPlayer;
&#160; &#160; &#160; &#160; &#160; &#160; import spark.events.VideoEvent;
&#160;
&#160; &#160; &#160; &#160; &#160; &#160; private function videoPlayer_metadataReceived(evt:VideoEvent):void {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; videoPlayer.videoElement.mx_internal::videoPlayer.playheadUpdateInterval = [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/09/14/2921.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex Gumbo中如何检测VideoPlayer播放的FLV含有暗点的例子</title>
		<link>http://blog.minidx.com/2009/09/13/2919.html</link>
		<comments>http://blog.minidx.com/2009/09/13/2919.html#comments</comments>
		<pubDate>Sun, 13 Sep 2009 11:19:24 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[VideoPlayer]]></category>
		<category><![CDATA[cuePoints]]></category>
		<category><![CDATA[metadataInfo]]></category>
		<category><![CDATA[metadataReceived]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2919</guid>
		<description><![CDATA[接下来的例子演示了Flex Gumbo中如何通过监听metadataReceived事件，以及metadataInfo.cuePoints属性，检测VideoPlayer播放的FLV含有暗点(cue points)。 
让我们先来看一下Demo（可以点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
下面是main.mxml：
&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;s:Application&#160;name=&#34;Spark_VideoPlayer_metadataReceived_cuePoints_test&#34;
&#160; &#160; &#160; &#160; xmlns:fx=&#34;http://ns.adobe.com/mxml/2009&#34;
&#160; &#160; &#160; &#160; xmlns:s=&#34;library://ns.adobe.com/flex/spark&#34;
&#160; &#160; &#160; &#160; xmlns:mx=&#34;library://ns.adobe.com/flex/halo&#34;&#62;
&#160;
&#160; &#160; &#60;fx:Script&#62;
&#160; &#160; &#160; &#160; &#60;![CDATA[
&#160; &#160; &#160; &#160; &#160; &#160; import spark.events.VideoEvent;
&#160;
&#160; &#160; &#160; &#160; &#160; &#160; private function videoPlayer_metadataReceived(evt:VideoEvent):void {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; panel.title = videoPlayer.source.toString();
&#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/09/13/2919.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 2/20 queries in 0.322 seconds using disk
Object Caching 415/779 objects using disk

Served from: blog.minidx.com @ 2012-02-10 01:37:17 -->
