<?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; VideoDisplay</title>
	<atom:link href="http://blog.minidx.com/category/flex/videodisplay-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 Gumbo中如何控制VideoPlayer播放/停止按钮无效的例子</title>
		<link>http://blog.minidx.com/2009/09/04/2905.html</link>
		<comments>http://blog.minidx.com/2009/09/04/2905.html#comments</comments>
		<pubDate>Fri, 04 Sep 2009 00:10:04 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[VideoDisplay]]></category>
		<category><![CDATA[enabled]]></category>
		<category><![CDATA[playPauseButton]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2905</guid>
		<description><![CDATA[接下来的例子演示了Flex Gumbo中如何通过设置VideoPlayer的playPauseButton部分属性，控制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_playPauseButton_enabled_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 checkBox_change(evt:Event):void {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; videoPlayer.playPauseButton.enabled = checkBox.selected;
&#160; &#160; &#160; &#160; &#160; &#160; }
&#160; &#160; &#160; &#160; ]]&#62;
&#160; &#160; &#60;/fx:Script&#62;
&#160;
&#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/09/04/2905.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex Gumbo中如何检测VideoPlayer已经播放结束的例子</title>
		<link>http://blog.minidx.com/2009/09/03/2903.html</link>
		<comments>http://blog.minidx.com/2009/09/03/2903.html#comments</comments>
		<pubDate>Thu, 03 Sep 2009 12:20:44 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[VideoDisplay]]></category>
		<category><![CDATA[autoRewind]]></category>
		<category><![CDATA[complete]]></category>
		<category><![CDATA[playheadUpdate]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2903</guid>
		<description><![CDATA[接下来的例子演示了Flex Gumbo中如何通过监听complete事件，检测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_complete_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_playheadUpdate(evt:VideoEvent):void {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; var now:String = new Date().toLocaleTimeString();
&#160; &#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/09/03/2903.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex Gumbo中如何察看VideoPlayer的metadata的例子</title>
		<link>http://blog.minidx.com/2009/09/03/2901.html</link>
		<comments>http://blog.minidx.com/2009/09/03/2901.html#comments</comments>
		<pubDate>Thu, 03 Sep 2009 00:06:43 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[VideoDisplay]]></category>
		<category><![CDATA[metadataInfo]]></category>
		<category><![CDATA[metadataReceived]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2901</guid>
		<description><![CDATA[接下来的例子演示了Flex Gumbo中如何通过监听metadataReceived事件，获取VideoPlayer的metadata数据。 
让我们先来看一下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_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 mx.utils.ObjectUtil;
&#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; debug.text = [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/09/03/2901.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex Gumbo中如何给VideoPlayer全屏按钮增加一个ToolTip的例子</title>
		<link>http://blog.minidx.com/2009/09/02/2899.html</link>
		<comments>http://blog.minidx.com/2009/09/02/2899.html#comments</comments>
		<pubDate>Wed, 02 Sep 2009 12:32:45 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[VideoDisplay]]></category>
		<category><![CDATA[fullScreenButton]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2899</guid>
		<description><![CDATA[接下来的例子演示了Flex Gumbo中如何通过给toolTip属性设置fullScreenButton参照，给VideoPlayer全屏按钮增加一个ToolTip。 
让我们先来看一下Demo（可以点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
下面是main.mxml：
&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;s:Application&#160;name=&#34;Spark_VideoPlayer_fullScreenButton_toolTip_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.fullScreenButton.toolTip = &#34;Toggle full screen&#34;;
&#160; &#160; &#160; &#160; &#160; &#160; }
&#160; &#160; &#160; &#160; ]]&#62;
&#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/09/02/2899.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex Gumbo中如何设置VideoPlayer全屏播放按钮颜色的例子</title>
		<link>http://blog.minidx.com/2009/09/01/2897.html</link>
		<comments>http://blog.minidx.com/2009/09/01/2897.html#comments</comments>
		<pubDate>Tue, 01 Sep 2009 13:48:37 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[VideoDisplay]]></category>
		<category><![CDATA[baseColor]]></category>
		<category><![CDATA[fullScreenButton]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2897</guid>
		<description><![CDATA[接下来的例子演示了Flex Gumbo中如何通过baseColor样式，设置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_fullScreenButton_baseColor_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 mx.events.ColorPickerEvent;
&#160;
&#160; &#160; &#160; &#160; &#160; &#160; private function colorPicker_change(evt:ColorPickerEvent):void {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; videoPlayer.fullScreenButton.setStyle(&#34;baseColor&#34;, evt.color);
&#160; &#160; &#160; &#160; &#160; &#160; }
&#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/09/01/2897.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/27 queries in 0.918 seconds using disk
Object Caching 408/786 objects using disk

Served from: blog.minidx.com @ 2012-02-10 01:40:52 -->
