<?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>Hangun's World - Blog &#187; AS2</title>
	<atom:link href="http://hangunsworld.com/blog/category/flash/actionscript2/feed" rel="self" type="application/rss+xml" />
	<link>http://hangunsworld.com/blog</link>
	<description>about ActionScript, Flash, Web and more...</description>
	<lastBuildDate>Tue, 24 Aug 2010 16:27:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using &#8220;setTimeout()&#8221; in a custom class.</title>
		<link>http://hangunsworld.com/blog/364</link>
		<comments>http://hangunsworld.com/blog/364#comments</comments>
		<pubDate>Tue, 02 Sep 2008 07:55:35 +0000</pubDate>
		<dc:creator>Hangun's World</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[ActionScript 2.0]]></category>
		<category><![CDATA[ActionScript 3.0]]></category>
		<category><![CDATA[clearTimeout]]></category>
		<category><![CDATA[setTimeout]]></category>

		<guid isPermaLink="false">http://hangunsworld.com/blog/?p=364</guid>
		<description><![CDATA[ActionScript 2.0을 사용할 때, 플래시 8에서 추가된 setTimeout() 메소드를 사용하면 편리하지만, 클래스에서 setTimeout()를 사용하면 다음과 같이 에러가 발생합니다.
There is no method with the name &#8217;setTimeout&#8217;.
그래서 setTimeout() 대신 setInterval() 메소드를 사용하는 경우가 생기죠. 그럴 필요 없이 $(LocalData)/Classes/toplevel.as 파일을 수정하면 이 문제가 말끔히 해결됩니다.
이 파일을 열어서 다음 2줄을 추가하고, 저장합니다. 그리고 플래시를 재시작하면 클래스에서도 setTimeout() 메소드를 문제없이 [...]]]></description>
			<content:encoded><![CDATA[<p>ActionScript 2.0을 사용할 때, 플래시 8에서 추가된 setTimeout() 메소드를 사용하면 편리하지만, 클래스에서 setTimeout()를 사용하면 다음과 같이 에러가 발생합니다.</p>
<blockquote><p>There is no method with the name &#8217;setTimeout&#8217;.</p></blockquote>
<p>그래서 setTimeout() 대신 setInterval() 메소드를 사용하는 경우가 생기죠. 그럴 필요 없이 $(LocalData)/Classes/toplevel.as 파일을 수정하면 이 문제가 말끔히 해결됩니다.<br />
이 파일을 열어서 다음 2줄을 추가하고, 저장합니다. 그리고 플래시를 재시작하면 클래스에서도 setTimeout() 메소드를 문제없이 사용할 수 있습니다.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">intrinsic <span style="color: #000000; font-weight: bold;">function</span> clearTimeout<span style="color: #66cc66;">&#40;</span>id:<span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">Void</span>;
intrinsic <span style="color: #000000; font-weight: bold;">function</span> setTimeout<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">Number</span>;</pre></div></div>

<p>ActionScript 3.0의 경우라면 다음과 같이 utils 패키지의 메소드들을 임포트 해주면 됩니다.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">import</span>	<span style="color: #004993;">flash.utils</span>.<span style="color: #004993;">setTimeout</span>;
<span style="color: #0033ff; font-weight: bold;">import</span>	<span style="color: #004993;">flash.utils</span>.<span style="color: #004993;">clearTimeout</span>;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://hangunsworld.com/blog/364/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Array.length is a read-write property.</title>
		<link>http://hangunsworld.com/blog/234</link>
		<comments>http://hangunsworld.com/blog/234#comments</comments>
		<pubDate>Sat, 16 Feb 2008 06:31:08 +0000</pubDate>
		<dc:creator>Hangun's World</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Array]]></category>
		<category><![CDATA[length]]></category>

		<guid isPermaLink="false">http://hangunsworld.com/blog/234</guid>
		<description><![CDATA[Array.length is a read-write property. I should&#8217;ve know it.
I just thought it was a read-only property. I came to know it reading a copy of EAS3.0.
Array.length 속성이 리드-라이트 였네요. 이런걸 지금까지 모르고 있었다니&#8230;
당연히 Read-only일 거라고 생각하고 있었는데, EAS3.0을 보다가 알게 되었네요.
Array.lengthがread-write属性だったんですね。なぜ今まで知らなかったんだろう……
当然read-onlyだと思っていったのに、EAS3.0を読みながら分かった。
length	property
length:uint  [read-write]
Language Version : ActionScript 3.0
Player Version : Flash Player 9
A non-negative integer specifying [...]]]></description>
			<content:encoded><![CDATA[<div class="english">Array.length is a read-write property. I should&#8217;ve know it.<br />
I just thought it was a read-only property. I came to know it reading a copy of EAS3.0.</div>
<div class="korean">Array.length 속성이 리드-라이트 였네요. 이런걸 지금까지 모르고 있었다니&#8230;<br />
당연히 Read-only일 거라고 생각하고 있었는데, EAS3.0을 보다가 알게 되었네요.</div>
<div class="japanese">Array.lengthがread-write属性だったんですね。なぜ今まで知らなかったんだろう……<br />
当然read-onlyだと思っていったのに、EAS3.0を読みながら分かった。</div>
<blockquote><p>length	property<br />
length:uint  <strong>[read-write]</strong></p>
<p>Language Version : ActionScript 3.0<br />
Player Version : Flash Player 9</p>
<p>A non-negative integer specifying the number of elements in the array. This property is automatically updated when new elements are added to the array. When you assign a value to an array element (for example, my_array[index] = value), if index is a number, and index+1 is greater than the length property, the length property is updated to index+1.</p>
<p><strong>Note: If you assign a value to the length property that is shorter than the existing length, the array will be truncated.</strong></p>
<p>quote from <a href="http://livedocs.adobe.com/labs/air/1/aslr/Array.html#length">ActionScript 3.0 Language Reference</a></p></blockquote>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #6699cc; font-weight: bold;">var</span> arr<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Array</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">Array</span><span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #000000; font-weight:bold;">1</span>, <span style="color: #000000; font-weight:bold;">2</span>, <span style="color: #000000; font-weight:bold;">3</span>, <span style="color: #000000; font-weight:bold;">4</span>, <span style="color: #000000; font-weight:bold;">5</span>, <span style="color: #000000; font-weight:bold;">6</span><span style="color: #000000;">&#41;</span>;
<span style="color: #004993;">trace</span><span style="color: #000000;">&#40;</span>arr<span style="color: #000000;">&#41;</span>;<span style="color: #009900;">// output 0,1,2,3,4,5,6</span>
arr.<span style="color: #004993;">length</span> = <span style="color: #000000; font-weight:bold;">4</span>;
<span style="color: #004993;">trace</span><span style="color: #000000;">&#40;</span>arr<span style="color: #000000;">&#41;</span>;<span style="color: #009900;">// output 0,1,2,3</span></pre></td></tr></table></div>

<div class="english">If the newly assigned length is shorter than the existing value, items whose index is larger than the length will be removed from the array and the array will be shortened to the specified length. In some cases, it is more useful than Array.slice() or Array.splice() methods.</div>
<div class="korean">위와 같이 length에 현재 길이보다 작은 값을 입력하면, length 이후의 아이템들을 제거하고 배열이 입력받은 길이로 줄어들게 됩니다. 경우에 따라서는 Array.slice(), Array.splice() 보다 유용할 것 같네요.</div>
<div class="japanese">若し、新しいlengthが現在のlengthより少ないと、それ以後の配列要素は取り去れて、その配列の長さは短くなります。時折Array.slice()やArray.splice()メソッドより便利そうです。</div>
]]></content:encoded>
			<wfw:commentRss>http://hangunsworld.com/blog/234/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>tweener</title>
		<link>http://hangunsworld.com/blog/216</link>
		<comments>http://hangunsworld.com/blog/216#comments</comments>
		<pubDate>Tue, 27 Nov 2007 16:07:09 +0000</pubDate>
		<dc:creator>Hangun's World</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[ActionScript 2.0]]></category>
		<category><![CDATA[ActionScript 3.0]]></category>
		<category><![CDATA[caurina]]></category>
		<category><![CDATA[Google Code]]></category>
		<category><![CDATA[Tween]]></category>
		<category><![CDATA[Tweener]]></category>

		<guid isPermaLink="false">http://hangunsworld.com/blog/?p=216</guid>
		<description><![CDATA[Yesterday, jin_u told me about Tweener. Tweener is an open source(MIT License) library for tweening in ActionScript 2 and 3. It has more features than the Flash native Tween class.
For more informaton, visit the official website at Google Code and Tweener Documentation and Language Reference.
어제 사내 스터디에서 진우가 Tweener에 대해서 알려주었습니다. Tweener는 액션스크립트 2와 3에서 [...]]]></description>
			<content:encoded><![CDATA[<div class="english">Yesterday, <a href="http://www.jinustudio.com/weblog">jin_u</a> told me about <a href="http://code.google.com/p/tweener/">Tweener</a>. Tweener is an open source(<a href="http://www.opensource.org/licenses/mit-license.php">MIT License</a>) library for tweening in ActionScript 2 and 3. It has more features than the Flash native Tween class.</p>
<p>For more informaton, visit the <a href="http://code.google.com/p/tweener/">official website</a> at Google Code and <a href="http://hosted.zeh.com.br/tweener/docs/en-us/">Tweener Documentation and Language Reference</a>.</div>
<div class="korean">어제 사내 스터디에서 <a href="http://www.jinustudio.com/weblog">진우</a>가 <a href="http://code.google.com/p/tweener/">Tweener</a>에 대해서 알려주었습니다. Tweener는 액션스크립트 2와 3에서 트위닝을 위한 오픈소스(<a href="http://www.opensource.org/licenses/mit-license.php">MIT 라이센스</a>) 라이브러리입니다. 플래시 내장 Tween 클래스보다 많은 기능을 가지고 있네요.</p>
<p>자세한 정보는 Google Code의 <a href="http://code.google.com/p/tweener/">공식 홈페이지</a>와 <a href="http://hosted.zeh.com.br/tweener/docs/en-us/">Tweener 도움말</a>을 참고하세요.</div>
<div class="japanese">昨日<a href="http://www.jinustudio.com/weblog">jin_u</a>から<a href="http://code.google.com/p/tweener/">Tweener</a>について聴いた。Tweenerはオープンソース(<a href="http://www.opensource.org/licenses/mit-license.php">MIT License</a>)ライブラリーとしてtweening機能を提供します。このクラスはフラッシュ内蔵クラスより機能が多いんです。</p>
<p>詳しい情報はGoogle Codeの<a href="http://code.google.com/p/tweener/">公式ホームページ</a>、または<a href="http://hosted.zeh.com.br/tweener/docs/en-us/">Tweenerマニュアル</a>へ…</div>
]]></content:encoded>
			<wfw:commentRss>http://hangunsworld.com/blog/216/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Dynamic MovieClip Registration with AS3 &amp; AS2</title>
		<link>http://hangunsworld.com/blog/76</link>
		<comments>http://hangunsworld.com/blog/76#comments</comments>
		<pubDate>Fri, 16 Mar 2007 01:41:16 +0000</pubDate>
		<dc:creator>Hangun's World</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[AS3]]></category>

		<guid isPermaLink="false">http://hangunsworld.com/blog/?p=76</guid>
		<description><![CDATA[DYNAMIC MOVIECLIP REGISTRATION WITH AS3 &#8211; Oscar Trelles
Dynamic MovieClip Registration with AS2 &#8211; Darron Schall
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.oscartrelles.com/archives/dynamic_movieclip_registration_with_as3">DYNAMIC MOVIECLIP REGISTRATION WITH AS3 &#8211; Oscar Trelles</a></p>
<p><a href="http://www.darronschall.com/weblog/archives/000054.cfm">Dynamic MovieClip Registration with AS2 &#8211; Darron Schall</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hangunsworld.com/blog/76/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ActionScript 2.0 to 3.0 Migration Cheatsheets!</title>
		<link>http://hangunsworld.com/blog/68</link>
		<comments>http://hangunsworld.com/blog/68#comments</comments>
		<pubDate>Thu, 01 Mar 2007 16:11:21 +0000</pubDate>
		<dc:creator>Hangun's World</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[AS3]]></category>

		<guid isPermaLink="false">http://hangunsworld.com/blog/?p=68</guid>
		<description><![CDATA[This is AS2 to AS3 migration cheatsheets from actionscriptcheatsheet.com.
as3cs_migration.pdf
actionscriptcheatsheet.com에서 제작한 AS2에서 AS3로 가면서 바뀐 클래스나 메소드, 프로퍼티들을 정리해 놓은 문서입니다.
]]></description>
			<content:encoded><![CDATA[<div class="english">This is AS2 to AS3 migration cheatsheets from actionscriptcheatsheet.com.</div>
<p><a href="http://www.actionscriptcheatsheet.com/downloads/as3cs_migration.pdf">as3cs_migration.pdf</a></p>
<div class="korean">actionscriptcheatsheet.com에서 제작한 AS2에서 AS3로 가면서 바뀐 클래스나 메소드, 프로퍼티들을 정리해 놓은 문서입니다.</div>
]]></content:encoded>
			<wfw:commentRss>http://hangunsworld.com/blog/68/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
