<?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; completeEffect</title>
	<atom:link href="http://blog.minidx.com/tag/completeeffect/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中如何利用Repeater组件载入XML并显示图片文件的例子</title>
		<link>http://blog.minidx.com/2008/10/13/1516.html</link>
		<comments>http://blog.minidx.com/2008/10/13/1516.html#comments</comments>
		<pubDate>Mon, 13 Oct 2008 01:16:57 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[XML]]></category>
		<category><![CDATA[completeEffect]]></category>
		<category><![CDATA[currentIndex]]></category>
		<category><![CDATA[currentItem]]></category>
		<category><![CDATA[Repeater]]></category>
		<category><![CDATA[Zoom]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=1516</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何利用Repeater组件载入XML并显示图片文件。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;middle&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:XML&#160;id=&#34;imagesXML&#34; source=&#34;images.xml&#34; /&#62;
&#160;
&#160; &#160; &#60;mx:Zoom&#160;id=&#34;zoom&#34; /&#62;
&#160;
&#160; &#160; &#60;mx:HBox&#160;id=&#34;hBox&#34;&#62;
&#160; &#160; &#160; &#160;&#160; &#60;mx:Repeater&#160;id=&#34;rep&#34;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160; dataProvider=&#34;{imagesXML.image}&#34;&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:Image&#160;source=&#34;{rep.currentItem.@src}&#34;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; toolTip=&#34;{rep.currentIndex}:{rep.currentItem.@alt}&#34;
&#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/10/13/1516.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flex中如何利用mx.effects SoundEffect类和ProgressBar类的completeEffect样式在进度条（ProgressBar）最后完成时播放一个声音效果的例子</title>
		<link>http://blog.minidx.com/2008/07/01/1024.html</link>
		<comments>http://blog.minidx.com/2008/07/01/1024.html#comments</comments>
		<pubDate>Tue, 01 Jul 2008 11:21:06 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[complete]]></category>
		<category><![CDATA[completeEffect]]></category>
		<category><![CDATA[ProgressBar]]></category>
		<category><![CDATA[SoundEffect]]></category>
		<category><![CDATA[进度条]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/07/01/1024.html</guid>
		<description><![CDATA[在前面的Flex中设置进度条(ProgressBar)完成时效果的例子中，我们了解了如何给进度条（ProgressBar）设置一个完成（100%）时效果。接下来的例子则演示了Flex中如何利用mx.effects SoundEffect类和ProgressBar类的completeEffect样式，在进度条（ProgressBar）最后完成时播放一个声音效果。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;middle&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Script&#62;
&#160; &#160; &#160; &#160; &#60;![CDATA[
&#160; &#160; &#160; &#160; &#160; &#160; import mx.events.SliderEvent;
&#160;
&#160; &#160; &#160; &#160; &#160; &#160; private function slider_change(evt:SliderEvent):void {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; progressBar.setProgress(evt.value, slider.maximum);
&#160; &#160; &#160; &#160; &#160; &#160; }
&#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/07/01/1024.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flex中通过completeEffect事件给Image控件加载图片一个完成时效果的例子</title>
		<link>http://blog.minidx.com/2008/06/30/1018.html</link>
		<comments>http://blog.minidx.com/2008/06/30/1018.html#comments</comments>
		<pubDate>Mon, 30 Jun 2008 13:16:46 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[completeEffect]]></category>
		<category><![CDATA[Image]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/06/30/1018.html</guid>
		<description><![CDATA[关于completeEffect的使用，前面的Flex中设置进度条(ProgressBar)完成时效果的例子等例子中都有用到，接下来的例子演示了Flex中如何通过completeEffect事件，给Image控件加载图片一个完成时效果。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;middle&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Script&#62;
&#160; &#160; &#160; &#160; &#60;![CDATA[
&#160; &#160; &#160; &#160; &#160; &#160; private function button_click(evt:MouseEvent):void {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; image.load(&#34;assets/Fx.png&#34;);
&#160; &#160; &#160; &#160; &#160; &#160; }
&#160; &#160; &#160; &#160; ]]&#62;
&#160; &#160; &#60;/mx:Script&#62;
&#160;
&#160; &#160; &#60;mx:ApplicationControlBar&#160;dock=&#34;true&#34;&#62;
&#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/06/30/1018.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flex中设置进度条(ProgressBar)完成时效果的例子</title>
		<link>http://blog.minidx.com/2008/03/16/597.html</link>
		<comments>http://blog.minidx.com/2008/03/16/597.html#comments</comments>
		<pubDate>Sun, 16 Mar 2008 10:36:19 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[complete]]></category>
		<category><![CDATA[completeEffect]]></category>
		<category><![CDATA[ProgressBar]]></category>
		<category><![CDATA[进度条]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/03/16/597.html</guid>
		<description><![CDATA[下面的例子展示了如何设置进度条（ProgressBar）完成（100%）时的效果（演示一次）。
下面是具体的代码：








Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;middle&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Script&#62;
&#160; &#160; &#160; &#160; &#60;![CDATA[
&#160; &#160; &#160; &#160; &#160; &#160; private&#160;var timer:Timer;
&#160;
&#160; &#160; &#160; &#160; &#160; &#160; private&#160;function init():void {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; timer = new&#160;Timer(10);
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; timer.addEventListener(TimerEvent.TIMER, [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/03/16/597.html/feed</wfw:commentRss>
		<slash:comments>3</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/30 queries in 0.292 seconds using disk
Object Caching 354/705 objects using disk

Served from: blog.minidx.com @ 2012-02-09 21:48:48 -->
