<?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; Gumbo</title>
	<atom:link href="http://blog.minidx.com/category/flex/gumbo-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中如何通过textFieldClass样式给Halo／MX List设置CFF／DefineFont4字体的例子</title>
		<link>http://blog.minidx.com/2009/11/19/3056.html</link>
		<comments>http://blog.minidx.com/2009/11/19/3056.html#comments</comments>
		<pubDate>Thu, 19 Nov 2009 12:31:15 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[List]]></category>
		<category><![CDATA[textFieldClass]]></category>
		<category><![CDATA[UIFTETextField]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=3056</guid>
		<description><![CDATA[接下来的例子演示了Flex 4中如何通过textFieldClass样式设置mx.core.UIFTETextField类，给Halo／MX List设置CFF／DefineFont4字体。








下面是main.mxml：
&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;!-- http://blog.flexexamples.com/2009/11/17/using-a-cff-embedded-font-with-a-halo-list-control-in-flex-4/ --&#62;
&#60;s:Application&#160;name=&#34;Halo_List_textFieldClass_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; &#60;s:controlBarContent&#62;
&#160; &#160; &#160; &#160; &#60;s:Label&#160;id=&#34;sdkVer&#34;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; fontFamily=&#34;df4ster&#34;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; fontSize=&#34;24&#34;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; initialize=&#34;sdkVer.text = mx_internal::VERSION;&#34;&#160;/&#62;
&#160; &#160; &#60;/s:controlBarContent&#62;
&#160;
&#160; &#160; &#60;fx:Style&#62;
&#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/11/19/3056.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex 4中如何在Border容器内动态载入背景图片的例子</title>
		<link>http://blog.minidx.com/2009/11/18/3054.html</link>
		<comments>http://blog.minidx.com/2009/11/18/3054.html#comments</comments>
		<pubDate>Wed, 18 Nov 2009 14:21:17 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[backgroundImage]]></category>
		<category><![CDATA[backgroundImageFillMode]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=3054</guid>
		<description><![CDATA[接下来的例子演示了Flex 4中如何通过backgroundImage样式和SWFLoader的content属性，在Border容器内动态载入背景图片。








下面是main.mxml：
&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;s:Application&#160;name=&#34;Spark_Border_backgroundImage_dynamic_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; &#60;s:controlBarContent&#62;
&#160; &#160; &#160; &#160; &#60;s:Button&#160;label=&#34;ColdFusion&#34; click=&#34;swfLdr.load('cf_appicon-tn.gif');&#34; /&#62;
&#160; &#160; &#160; &#160; &#60;s:Button&#160;label=&#34;Flash Player&#34; click=&#34;swfLdr.load('fl_player_appicon-tn.gif');&#34; /&#62;
&#160; &#160; &#160; &#160; &#60;s:Button&#160;label=&#34;Flex&#34; click=&#34;swfLdr.load('fx_appicon-tn.gif');&#34; /&#62;
&#160; &#160; &#160; &#160; &#60;s:Button&#160;label=&#34;Adobe&#34; click=&#34;swfLdr.load('http://helpexamples.com/flash/images/logo.png');&#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; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/11/18/3054.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex 4中如何在List内显示不同字体的例子</title>
		<link>http://blog.minidx.com/2009/11/16/3049.html</link>
		<comments>http://blog.minidx.com/2009/11/16/3049.html#comments</comments>
		<pubDate>Mon, 16 Nov 2009 12:54:21 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[ComboBox]]></category>
		<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[List]]></category>
		<category><![CDATA[fontName]]></category>
		<category><![CDATA[itemRenderer]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=3049</guid>
		<description><![CDATA[接下来的例子演示了Flex 4中如何通过自定义数据源，在ComboBox的下拉菜单List内显示不同字体。








下面是main.mxml：
&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;s:Application&#160;xmlns:fx=&#34;http://ns.adobe.com/mxml/2009&#34;
&#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160; xmlns:s=&#34;library://ns.adobe.com/flex/spark&#34;
&#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160; xmlns:mx=&#34;library://ns.adobe.com/flex/halo&#34;
&#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160; initialize=&#34;init();&#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; var fontArr:Array = Font.enumerateFonts(true); /* device fonts only [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/11/16/3049.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Flex 4中如何创建一个简单的TLF TextContainerManager的例子</title>
		<link>http://blog.minidx.com/2009/11/11/3036.html</link>
		<comments>http://blog.minidx.com/2009/11/11/3036.html#comments</comments>
		<pubDate>Tue, 10 Nov 2009 22:48:34 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[Other]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=3036</guid>
		<description><![CDATA[接下来的例子演示了Flex 4中如何利用Text Layout Framework (TLF)，创建一个简单的TLF TextContainerManager。
要编译本例代码需要Flash Player 10和Adobe Flex 4 SDK。








下面是main.mxml：
package {
&#160; &#160; import flash.display.Sprite;
&#160;
&#160; &#160; import flashx.textLayout.container.TextContainerManager;
&#160;
&#160; &#160; [SWF(width=&#34;550&#34;, height=&#34;300&#34;)]
&#160;
&#160; &#160; public class TextContainerManager_setText_test extends Sprite {
&#160; &#160; &#160; &#160; public function TextContainerManager_setText_test() {
&#160; &#160; &#160; &#160; &#160; &#160; var spr:Sprite = new Sprite();
&#160; &#160; &#160; &#160; &#160; &#160; addChild(spr);
&#160; &#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/11/11/3036.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/31 queries in 0.757 seconds using disk
Object Caching 405/790 objects using disk

Served from: blog.minidx.com @ 2012-02-10 01:14:24 -->
