<?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>HowDoFlash &#187; Tutorial</title>
	<atom:link href="http://www.howdoflash.net/tag/tutor/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.howdoflash.net</link>
	<description>Flash Blog</description>
	<lastBuildDate>Tue, 07 Sep 2010 06:51:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>เทคนิคแต่งตั้ง เจ้าของฟังชั่น function context Actionscript2.0</title>
		<link>http://www.howdoflash.net/2009/11/29/as2-0_function_context/</link>
		<comments>http://www.howdoflash.net/2009/11/29/as2-0_function_context/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 17:04:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash Basic]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[AS2.0]]></category>
		<category><![CDATA[Function Context]]></category>

		<guid isPermaLink="false">http://www.howdoflash.net/?p=365</guid>
		<description><![CDATA[หยิบเอาเทคนิคเล็กๆน้อยๆมาเล่าให้ฟังถึงแม้จะเป็นเรื่องเก่าแล้วก็ตามนะครับ (แหม ก็ actionscript 2.0 นี่นา ) แต่ผมเชื่อว่ายังมีคนใช้ประโยชน์จากมันได้แน่ คิดว่าทุกคนคงจะคุ้นเคยกับการสร้าง Event ใช้งานใน ActionScript 2.0 ในรูปแบบ โค้ดต่อไปนี้ MC.onRelease = function&#40;&#41;&#123; trace&#40; this &#41;; &#125; จากโค้ดด้านบน เราจะรู้ดีว่าการสั่งงาน this ในฟังชั่นนั้น จะหมายถึงตัว MC เอง การ trace ก็จะแสดงถึง path ของ MC ออกมา แน่นอน ในกรณีนี้ เราใช้กันบ่อยๆ ผมจะขอสรุปว่า เรากำหนดให้ function ที่ไม่มีชื่อนั้น ทำงานเป็น Event handler ของเหตุการณ์ onRelease ของ MC ซึ่งในลักษณะนี้ เราสามารถเรียก MC ว่าเป็น Function [...]]]></description>
		<wfw:commentRss>http://www.howdoflash.net/2009/11/29/as2-0_function_context/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
