<?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>腦功仔個Blog &#187; Flash</title>
	<atom:link href="http://orz.hk/tag/Flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://orz.hk</link>
	<description>每天都努力用腦用功的打工仔</description>
	<lastBuildDate>Thu, 01 Dec 2011 03:36:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WordPress Plugin Cumulus 終於 release source</title>
		<link>http://orz.hk/2008/08/01/2325/</link>
		<comments>http://orz.hk/2008/08/01/2325/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 05:02:06 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[開發心得]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://orz.hk/?p=2325</guid>
		<description><![CDATA[如果你地有留意個 blog 最底部有舊會郁既 tag cloud, 之前都有喺度, 但係顯示唔到中文, 之前因為佢作者未放個 flash file 既 source 出黎, 所以冇辦法。 不過而家個作者終於肯放個 source 出黎, 而且仲放埋喺 word press 個 plugin directory 度: http://wordpress.org/extend/plugins/wp-cumulus/ 不過要攪到佢顯示中文唔係咁簡單: 去 Tag.as 度搵 format.font = &#8220;Arial&#8221;;, 將 Arial 改成包含你個 character set 既 fonts, 例如 SimHei 開個 tagcloud.fla, 喺個 flash 左上角以外有個 text field 寫住 tag, 將你個 blog 會顯示既中文 tag 打晒入去, [...]]]></description>
			<content:encoded><![CDATA[<p>如果你地有留意個 blog 最底部有舊會郁既 tag cloud, 之前都有喺度, 但係顯示唔到中文, 之前因為佢作者未放個 flash file 既 source 出黎, 所以冇辦法。 不過而家個作者終於肯放個 source 出黎, 而且仲放埋喺 word press 個 plugin directory 度:</p>
<blockquote><p><a target=_blank href="http://wordpress.org/extend/plugins/wp-cumulus/">http://wordpress.org/extend/plugins/wp-cumulus/</a></p></blockquote>
<p>不過要攪到佢顯示中文唔係咁簡單:</p>
<ol>
<li>去 Tag.as 度搵 	format.font = &#8220;Arial&#8221;;, 將 Arial 改成包含你個 character set 既 fonts, 例如 SimHei</li>
<li>開個 tagcloud.fla, 喺個 flash 左上角以外有個 text field 寫住 tag, 將你個 blog 會顯示既中文 tag 打晒入去, 例如: 古惑仔細搵笨の悲劇旅行董建華電影曾蔭權港女淫照事件</li>
<li>視乎你個 Flash 既版本, 多數喺頭先段 Text 個 Properties 入面你會見到 Embedded Character, 千祈唔好跟佢指示用 control click 嚟選你 d character set, 如果唔係個 flash .swf file 可以成十幾 MB。如果有 Auto Fill 依個 button, click 佢就會將你 Flash 入面既&#8221;外語(英文以外)&#8221; load 晒入去 Includes these characters 下面。如果冇既話就將頭先段 Tag  既Text 再打入去。
</li>
<li>Publish 個 flash, 然後將個 tagcloud.swf 覆蓋你 plugin 入面嗰個。</li>
<li>如果你有新中文 tag, 重覆以上步驟 orz</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2008/08/01/2325/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>攪掂左個新 theme 既 Flash</title>
		<link>http://orz.hk/2008/07/08/2159/</link>
		<comments>http://orz.hk/2008/07/08/2159/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 04:31:01 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[開發心得]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://orz.hk/?p=2159</guid>
		<description><![CDATA[遲下會加多d effects, 同埋整返個 preload progress bar。 因為遲下可能會加多d 新相, 同埋d 相可能會 link 到某 d page, 所以 d 相係以 xml 格式黎俾個 Flash load: &#60;images&#62; &#60;image&#62; &#60;url&#62;/wp-content/header/title2.jpg&#60;/url&#62; &#60;link&#62;&#60;/link&#62; &#60;/image&#62; &#60;image&#62; &#60;url&#62;/wp-content/header/title3.jpg&#60;/url&#62; &#60;link&#62;&#60;/link&#62; &#60;/image&#62; &#60;/images&#62; 至於 action script 亦從簡: var images:Array = new Array&#40;&#41;; var xml:XML = new XML&#40;&#41;; xml.ignoreWhite = true; xml.load&#40;&#34;/wp-content/themes/neo/images.xml&#34;&#41;; stop&#40;&#41;; &#160; xml.onLoad = function&#40;ok&#41; &#123; [...]]]></description>
			<content:encoded><![CDATA[<p>遲下會加多d effects, 同埋整返個 preload progress bar。<br />
因為遲下可能會加多d 新相, 同埋d  相可能會 link 到某 d page, 所以 d 相係以 xml 格式黎俾個 Flash load:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;images<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;image<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;url<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>/wp-content/header/title2.jpg<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/url<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;link<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/link<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/image<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;image<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;url<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>/wp-content/header/title3.jpg<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/url<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;link<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/link<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/image<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/images<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>至於 action script 亦從簡:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> images:<span style="color: #0066CC;">Array</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Array</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">xml</span>:<span style="color: #0066CC;">XML</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">XML</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #0066CC;">xml</span>.<span style="color: #0066CC;">ignoreWhite</span> = <span style="color: #000000; font-weight: bold;">true</span>;
<span style="color: #0066CC;">xml</span>.<span style="color: #0066CC;">load</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;/wp-content/themes/neo/images.xml&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #0066CC;">stop</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #0066CC;">xml</span>.<span style="color: #0066CC;">onLoad</span> = <span style="color: #000000; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span>ok<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
	<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>ok<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
		<span style="color: #000000; font-weight: bold;">var</span> allData = <span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">firstChild</span>.<span style="color: #0066CC;">childNodes</span>;
		<span style="color: #000000; font-weight: bold;">var</span> total_item = allData.<span style="color: #0066CC;">length</span>;
&nbsp;
		<span style="color: #b1b100;">for</span> <span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i = <span style="color: #cc66cc;">1</span>; i <span style="color: #66cc66;">&lt;</span> total_item + <span style="color: #cc66cc;">1</span>; i++<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
			images.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span>allData<span style="color: #66cc66;">&#91;</span>i - <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#93;</span>.<span style="color: #0066CC;">childNodes</span><span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#93;</span>.<span style="color: #0066CC;">childNodes</span><span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#93;</span>.<span style="color: #0066CC;">nodeValue</span><span style="color: #66cc66;">&#41;</span>;
			<span style="color: #808080; font-style: italic;">// b0 係一個有 button 既 movie clip, 仲有個 var 叫 no 既 text 嚟顯示數字</span>
			<span style="color: #808080; font-style: italic;">// 複制個新既</span>
			<span style="color: #0066CC;">duplicateMovieClip</span><span style="color: #66cc66;">&#40;</span>b0, <span style="color: #ff0000;">'b'</span> + i, i<span style="color: #66cc66;">&#41;</span>;
			<span style="color: #000000; font-weight: bold;">var</span> b = <span style="color: #0066CC;">eval</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'b'</span> + i<span style="color: #66cc66;">&#41;</span>;
			b.<span style="color: #006600;">no</span> = i;
			b.<span style="color: #0066CC;">_y</span> = <span style="color: #cc66cc;">140</span>;
			<span style="color: #808080; font-style: italic;">// 排返d buttons 既位置, 數目有變都唔駛驚</span>
			b.<span style="color: #0066CC;">_x</span> = i <span style="color: #66cc66;">*</span> <span style="color: #cc66cc;">25</span>+ <span style="color: #cc66cc;">850</span> - <span style="color: #66cc66;">&#40;</span>total_item <span style="color: #66cc66;">*</span> <span style="color: #cc66cc;">25</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
			b.<span style="color: #0066CC;">onRelease</span> = <span style="color: #000000; font-weight: bold;">function</span> <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
                                load_image<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">no</span><span style="color: #66cc66;">&#41;</span>;
			<span style="color: #66cc66;">&#125;</span>
		<span style="color: #66cc66;">&#125;</span>
	<span style="color: #66cc66;">&#125;</span>
	<span style="color: #808080; font-style: italic;">// 第一次是但抽張出黎</span>
        load_image<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">random</span><span style="color: #66cc66;">&#40;</span>images.<span style="color: #0066CC;">length</span> - <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
	base.<span style="color: #0066CC;">width</span> = <span style="color: #cc66cc;">936</span>;
	base.<span style="color: #0066CC;">height</span> = <span style="color: #cc66cc;">229</span>;
<span style="color: #66cc66;">&#125;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> load_image<span style="color: #66cc66;">&#40;</span>h<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
	<span style="color: #b1b100;">for</span> <span style="color: #66cc66;">&#40;</span>i = <span style="color: #cc66cc;">1</span>; i <span style="color: #66cc66;">&lt;</span> total_item + <span style="color: #cc66cc;">1</span>; i++<span style="color: #66cc66;">&#41;</span>
		<span style="color: #0066CC;">eval</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'b'</span>+ i<span style="color: #66cc66;">&#41;</span>.<span style="color: #0066CC;">_alpha</span> = <span style="color: #cc66cc;">30</span>;
	<span style="color: #808080; font-style: italic;">// highlight 埋佢</span>
	<span style="color: #0066CC;">eval</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'b'</span> + h<span style="color: #66cc66;">&#41;</span>.<span style="color: #0066CC;">_alpha</span> = <span style="color: #cc66cc;">70</span>;
        <span style="color: #808080; font-style: italic;">// 下載圖像</span>
	base.<span style="color: #0066CC;">loadMovie</span><span style="color: #66cc66;">&#40;</span>images<span style="color: #66cc66;">&#91;</span> h - <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>XML 入面既 link node 係冇處理到既, 留待日後擴展用。</p>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2008/07/08/2159/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash 飄星星 Animation</title>
		<link>http://orz.hk/2008/03/19/2057/</link>
		<comments>http://orz.hk/2008/03/19/2057/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 17:08:51 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[開發心得]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://test.orz.hk/?p=2057</guid>
		<description><![CDATA[d 星星唔夠 50 粒會有50%機會 duplicate 出黎, 而每粒星星都自己 apply 左一個 onEnterFrame function, 每個 frame 到會將自己既 _alpha 減 0.5, 到細過或等於零時 removeMoveClip, 並且星星總數減一。如果粒星星 _alpha 低過 70 就會向右移, 即係 _x += 2; 然後 _y 就 random 咁 shift, 即係 y += Math.random() *2 -1; 不過有點奇怪, 就係 _alpha 減 0.2 或者 0.3 就會奇怪咁完結唔到, 原因不明, 有待探究。]]></description>
			<content:encoded><![CDATA[<p>d 星星唔夠 50 粒會有50%機會 duplicate 出黎, 而每粒星星都自己 apply 左一個 onEnterFrame function, 每個 frame 到會將自己既 _alpha 減 0.5, 到細過或等於零時 removeMoveClip, 並且星星總數減一。如果粒星星 _alpha 低過 70 就會向右移, 即係 _x += 2; 然後 _y 就 random 咁 shift, 即係 y += Math.random() *2 -1; 不過有點奇怪, 就係 _alpha 減 0.2 或者 0.3 就會奇怪咁完結唔到, 原因不明, 有待探究。</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="100" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="id" value="flashsample2" /><param name="align" value="middle" /><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><param name="src" value="/images/flashsample2.swf" /><param name="movie" value="/images/flashsample2.swf" /><embed id="flashsample2" type="application/x-shockwave-flash" width="480" height="100" src="/images/flashsample2.swf" bgcolor="#ffffff" quality="high" allowfullscreen="false" allowscriptaccess="sameDomain" align="middle"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2008/03/19/2057/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Program generated Flash 特效</title>
		<link>http://orz.hk/2008/02/26/2011/</link>
		<comments>http://orz.hk/2008/02/26/2011/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 16:19:19 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[開發心得]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://test.orz.hk/?p=2011</guid>
		<description><![CDATA[用程式黎做 Flash 既特效, 好處就係變化無窮, 所以睇完嗰本書之後都手痕寫下 Actionscript, 為左遷就個網站設計, 所以都冇好似本書d example 咁變化多端:]]></description>
			<content:encoded><![CDATA[<p>用程式黎做 Flash 既特效, 好處就係變化無窮, 所以睇完嗰本書之後都手痕寫下 Actionscript, 為左遷就個網站設計, 所以都冇好似本書d example 咁變化多端:</p>
<p><object id="demo" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" height="120" width="500" align="middle" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"><param value="sameDomain" name="allowScriptAccess" /><param value="false" name="allowFullScreen" /><param value="/images/linestar.swf" name="movie" /><param value="high" name="quality" /><param value="#ffffff" name="bgcolor" /><embed id="flashsample2" type="application/x-shockwave-flash" width="500" height="120" src="/images/linestar.swf" bgcolor="#ffffff" quality="high" allowfullscreen="false" allowscriptaccess="sameDomain" align="middle"></object></p>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2008/02/26/2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>好書一本 Flash Math Creativity: Second Edition</title>
		<link>http://orz.hk/2008/02/23/2005/</link>
		<comments>http://orz.hk/2008/02/23/2005/#comments</comments>
		<pubDate>Sat, 23 Feb 2008 16:48:51 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[電腦雜碎]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://test.orz.hk/?p=2005</guid>
		<description><![CDATA[http://www.friendsofed.com/fmc/FMCv2/FMC.html 靚唔靚一回事, 但好多係好有趣既, 例如 Keith Peters 既 hungry ai, Ty Lettau 既 polarity, Ken Jokol 既 generative grids, JD Hooge 既 phantom shapes, 而 David Hirmes 既 spring 就更加有 interactivity, 本書就梗係睇唔到d Flash 既效果, 但係就有詳盡既原理介紹!]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://www.friendsofed.com/fmc/FMCv2/FMC.html"></a>
<p><a target="_blank" href="http://www.friendsofed.com/fmc/FMCv2/FMC.html">http://www.friendsofed.com/fmc/FMCv2/FMC.html</a></p>
<p>靚唔靚一回事, 但好多係好有趣既, 例如 Keith Peters 既 hungry ai, Ty Lettau 既 polarity, Ken Jokol 既 generative grids, JD Hooge 既 phantom shapes, 而 David Hirmes 既 spring 就更加有 interactivity, 本書就梗係睇唔到d Flash 既效果, 但係就有詳盡既原理介紹!</p>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2008/02/23/2005/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>儘量唔好用 Flash CS</title>
		<link>http://orz.hk/2007/10/21/1828/</link>
		<comments>http://orz.hk/2007/10/21/1828/#comments</comments>
		<pubDate>Sun, 21 Oct 2007 12:12:20 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[電腦雜碎]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://test.orz.hk/?p=1828</guid>
		<description><![CDATA[Macromedia 同 Adobe 合併之後, d product 都改晒名做 CS 尾, Flash 都唔例外, 不過改名之餘仲為左谷 client upgrade flash, Flash CS 最低既 output 版本係 Flash 8&#8230;若果用 Flash 2004 MX既話, 就可以 output 到 Flash 6, 亦即係最多人開到既版本。]]></description>
			<content:encoded><![CDATA[<p>Macromedia 同 Adobe 合併之後, d product 都改晒名做 CS 尾, Flash 都唔例外, 不過改名之餘仲為左谷 client upgrade flash, Flash CS 最低既 output 版本係 Flash 8&#8230;若果用 Flash 2004 MX既話, 就可以 output 到 Flash 6, 亦即係最多人開到既版本。</p>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2007/10/21/1828/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>玩左一陣 Action Scripts 3.0</title>
		<link>http://orz.hk/2007/10/13/1815/</link>
		<comments>http://orz.hk/2007/10/13/1815/#comments</comments>
		<pubDate>Sat, 13 Oct 2007 16:27:04 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[開發心得]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://test.orz.hk/?p=1815</guid>
		<description><![CDATA[之前玩 Action Scripts 2.0 玩到熟晒, 而家玩 3.0 無難度。 之但係     public class Form extends Loader     {        public function Form()        {            var request:URLRequest = new URLRequest(&#34;calendar.swf&#34;);            this.addEventListener(Event.COMPLETE, Loaded);            load(request);            trace(&#34;loading&#34;);        }         public function Loaded(event: Event):void{            trace(&#34;loaded&#34;);                             }    } 個 loader 係唔會發個咁既 Event, 要改做 [...]]]></description>
			<content:encoded><![CDATA[<p>之前玩 Action Scripts 2.0 玩到熟晒, 而家玩 3.0 無難度。</p>
<p>之但係</p>
<blockquote><p>    public class Form extends Loader <br />    {<br />        public function Form()<br />        {<br />            var request:URLRequest = new URLRequest(&quot;calendar.swf&quot;);<br /><b>            this.addEventListener(Event.COMPLETE, Loaded);</b><br />            load(request);<br />            trace(&quot;loading&quot;);<br />        }</p>
<p>        public function Loaded(event: Event):void{<br />            trace(&quot;loaded&quot;);                      <br />        }<br />    }</p>
</blockquote>
<p>個 loader 係唔會發個咁既 Event, 要改做</p>
<blockquote><p>this.<b>contentLoaderInfo</b>.addEventListener(Event.COMPLETE, Loaded);</p>
</blockquote>
<p>先得, 感覺有 d 怪怪地, 唔係咁方便, 因為我個人習慣認為個 Event 由個 Loader 度黎, 而唔係由個 child LoaderInfo, 始終 load 依個 function 係屬於 Loader class, 咁直覺上個 Event 應該係返個 Loader 度, 若果 C# 就可以更方便係個 class 度做個 delegate 俾返個 child object, 同埋係 AS 3.0 若果一時醒唔起就咁係個 Loader 度加 Event 就死, 成世都冇 Event 而可能走左去 debug, 而係 C# 就因為冇咁既 function 就跟本 call 唔到而少左好多煩惱。</p>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2007/10/13/1815/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash CS3 唔再支援 Windows 2000 了</title>
		<link>http://orz.hk/2007/07/27/1749/</link>
		<comments>http://orz.hk/2007/07/27/1749/#comments</comments>
		<pubDate>Fri, 27 Jul 2007 11:30:03 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[電腦雜碎]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://test.orz.hk/?p=1749</guid>
		<description><![CDATA[奠]]></description>
			<content:encoded><![CDATA[<p align="center"><img vspace="0" hspace="0" border="0" align="bottom" src="/uploads/computing/flashcs3.serendipityThumb.gif" /></p>
<p align="center">奠</p></p>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2007/07/27/1749/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

