<?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>솔릿옵하의 블로그 &#187; actionscript</title>
	<atom:link href="http://www.onuyi.net/blog/archives/category/code/actionscript/feed" rel="self" type="application/rss+xml" />
	<link>http://www.onuyi.net/blog</link>
	<description>당신은 나에게 충고를 할 자유가 있고 나는 그걸 듣지 않을 권리가 있다.</description>
	<lastBuildDate>Thu, 22 Dec 2011 13:07:58 +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>하찮은 것</title>
		<link>http://www.onuyi.net/blog/archives/1054?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25ed%2595%2598%25ec%25b0%25ae%25ec%259d%2580-%25ea%25b2%2583</link>
		<comments>http://www.onuyi.net/blog/archives/1054#comments</comments>
		<pubDate>Wed, 02 Mar 2011 08:05:48 +0000</pubDate>
		<dc:creator>SOLID.H</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[코드]]></category>
		<category><![CDATA[Embed]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Font]]></category>
		<category><![CDATA[Unicode]]></category>

		<guid isPermaLink="false">http://www.onuyi.net/blog/?p=1054</guid>
		<description><![CDATA[접때 AKIRAFUKUOKA（福岡 陽）(이 블로그 사이드바에 있는 まじわる等高線 개발자)의 블로그를 보다가
Flash 툴에서 폰트 임베딩 창에



숫자가 0부터9 임에도 11개 문자라고 표시되었거나
대문자 소문자 모두 27개 문자로 표시되는게 재밌다고 적은 글(링크)을 보았었다.
&#160;
僕にはさっぱり判らないよ。でもいいじゃないか、ほら、こうやってFlashが使えているんだから。ハハハハ……と、ここでめでたく幕切れと言いたいとこですが「ググれ」の一言で片付けられそうなのでとりあえずググったらさっそく該当ページがヒット。以下がその回答。
教えて！goo 数字は全部で10文字なのに文字オプションのフォントのアウトラインの埋め込みが11文字なのはなぜ？
要するに数字10文字だけでは小数点以下の数字が再現できず、アルファベット26文字だけでは文章を書く事ができない（スペースがなければThequickbrownfoxjumpsoverthelazydogとわけわからん）。そのためFlashは気を使って数字には「.（ピリオド）」、アルファベットには「 （スペース）」を1文字含ませている、というわけ。
&#160;
그리고 오늘 별로 쓸데없는 일로;; Flex SDK 뒤지다가
flash-unicode-table.xml 를 보니
&#60;flash-unicode-table&#62;
        &#60;language-range&#62;
		&#60;lang&#62;Uppercase&#60;/lang&#62;
		&#60;range&#62;U+0020,U+0041-005A&#60;/range&#62;
	&#60;/language-range&#62;
	&#60;language-range&#62;
		&#60;lang&#62;Lowercase&#60;/lang&#62;
		&#60;range&#62;U+0020,U+0061-007A&#60;/range&#62;
	&#60;/language-range&#62;
	&#60;language-range&#62;
		&#60;lang&#62;Numerals&#60;/lang&#62;
		&#60;range&#62;U+0030-0039,U+002E&#60;/range&#62;
	&#60;/language-range&#62;
......
Unicode Table(링크) 보니 Numerals의 U+002E는 「.」이고,  Uppercase와 Lowercase의 U+0020이  「SPACE」 이다.
뭐 [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>접때 <a href="http://www.akirafukuoka.com/majiwaru-tokosen/" target="_blank">AKIRAFUKUOKA</a>（福岡 陽）(이 블로그 사이드바에 있는 まじわる等高線 개발자)의 <a href="http://www.akirafukuoka.com/blog/" target="_blank">블로그</a>를 보다가</p>
<p><span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre;">Flash 툴에서 폰트 임베딩 창에</span></p>
<p style="text-align: center;"><span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre;"><a href="http://www.onuyi.net/blog/wp-content/uploads/2011/03/flashnumberfont2.jpg"><img class="size-medium wp-image-1056 aligncenter" title="flash number font2" src="http://www.onuyi.net/blog/wp-content/uploads/2011/03/flashnumberfont2-300x76.jpg" alt="" width="300" height="76" /></a><br />
</span></p>
<p style="text-align: center;"><a href="http://www.onuyi.net/blog/wp-content/uploads/2011/03/flashnumberfont1.jpg"><img class="size-medium wp-image-1055 aligncenter" title="flashnumberfont1" src="http://www.onuyi.net/blog/wp-content/uploads/2011/03/flashnumberfont1-300x230.jpg" alt="" width="300" height="230" /></a></p>
<p>숫자가 0부터9 임에도 11개 문자라고 표시되었거나</p>
<p>대문자 소문자 모두 27개 문자로 표시되는게 재밌다고 적은 글(<a href="http://www.akirafukuoka.com/blog/2007/06/flash11.html" target="_blank">링크</a>)을 보았었다.</p>
<p>&nbsp;</p>
<p><cite class="wp-oembed">僕にはさっぱり判らないよ。でもいいじゃないか、ほら、こうやってFlashが使えているんだから。ハハハハ……と、ここでめでたく幕切れと言いたいとこですが「ググれ」の一言で片付けられそうなのでとりあえずググったらさっそく該当ページがヒット。以下がその回答。</cite></p>
<p><a href="http://oshiete1.goo.ne.jp/qa1679801.html" target="_blank"><cite class="wp-oembed">教えて！goo 数字は全部で10文字なのに文字オプションのフォントのアウトラインの埋め込みが11文字なのはなぜ？</cite></a></p>
<p><cite class="wp-oembed">要するに数字10文字だけでは小数点以下の数字が再現できず、アルファベット26文字だけでは文章を書く事ができない（スペースがなければThequickbrownfoxjumpsoverthelazydogとわけわからん）。そのためFlashは気を使って数字には「.（ピリオド）」、アルファベットには「 （スペース）」を1文字含ませている、というわけ。</cite></p>
<p>&nbsp;</p>
<p>그리고 오늘 별로 쓸데없는 일로;; Flex SDK 뒤지다가</p>
<p><a href="http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/frameworks/flash-unicode-table.xml">flash-unicode-table.xml</a> 를 보니</p>
<pre>&lt;flash-unicode-table&gt;
        &lt;language-range&gt;
		&lt;lang&gt;Uppercase&lt;/lang&gt;
		&lt;range&gt;U+0020,U+0041-005A&lt;/range&gt;
	&lt;/language-range&gt;
	&lt;language-range&gt;
		&lt;lang&gt;Lowercase&lt;/lang&gt;
		&lt;range&gt;U+0020,U+0061-007A&lt;/range&gt;
	&lt;/language-range&gt;
	&lt;language-range&gt;
		&lt;lang&gt;Numerals&lt;/lang&gt;
		&lt;range&gt;U+0030-0039,U+002E&lt;/range&gt;
	&lt;/language-range&gt;
......</pre>
<p>Unicode Table(<a href="http://ssen.name/develop/document/ascii_unicode_table/unicode.html" target="_blank">링크</a>) 보니 Numerals의 <strong>U+002E</strong>는 「.」이고,  Uppercase와 Lowercase의 <strong>U+0020</strong>이  「SPACE」 이다.</p>
<p>뭐 알아내서 적은게 아니고 그냥 과연 그렇구나 해서 포스팅한다;;;</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.onuyi.net/blog/archives/1054/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mp3 스펙트럼</title>
		<link>http://www.onuyi.net/blog/archives/741?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mp3-%25ec%258a%25a4%25ed%258e%2599%25ed%258a%25b8%25eb%259f%25bc</link>
		<comments>http://www.onuyi.net/blog/archives/741#comments</comments>
		<pubDate>Wed, 10 Mar 2010 13:36:12 +0000</pubDate>
		<dc:creator>SOLID.H</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[코드]]></category>
		<category><![CDATA[cos(t)]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[sin(t)]]></category>
		<category><![CDATA[spectrum]]></category>

		<guid isPermaLink="false">http://www.onuyi.net/blog/?p=741</guid>
		<description><![CDATA[어릴적 기하를 지지리도 못해 앙금이 남아서 네이버캐스트의 삼각함수에 관한 글을 보고 만들어보았다.
다른 형태로 응용해보려 하다가 갑자기 귀찮아서 포기.
(로딩후 급작스레 소리가 커서 놀랄 수 있으니 정 보겠다면 볼륨을 낮춰주십사)






음악파일의 로딩이 너무 느려 ㅠ.ㅠ
(원래 중간에 배치했었는데 블로그에 올려놓고 보다가 기겁하고 왼쪽으로 뺐다;;;
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
위성[圍城] 이라는 책을 작년에야 알게 되고 올해에야 읽어본다.
전공이 문학이면서;;;

요즘들어 생활이 제자리로 돌아가는 것 같다.
주욱 오래갔으면 좋겠다.
좀 [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>어릴적 기하를 지지리도 못해 앙금이 남아서 <a href="http://navercast.naver.com/science/math/857" target="_blank">네이버캐스트의 삼각함수에 관한 글</a>을 보고 만들어보았다.</p>
<p>다른 형태로 응용해보려 하다가 갑자기 귀찮아서 포기.</p>
<p>(로딩후 급작스레 소리가 커서 놀랄 수 있으니 정 보겠다면 볼륨을 낮춰주십사)</p>
<p><br class="spacer_" /></p>
<p>
<object style="width: 500px; height: 375px;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="500" height="375" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="flashvars" value="transparent" /><param name="src" value="/common/files/spectrum/ComputeSpectrum.swf" /><embed style="width: 500px; height: 375px;" type="application/x-shockwave-flash" width="500" height="375" src="/common/files/spectrum/ComputeSpectrum.swf" flashvars="transparent"></embed></object>
</p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p>음악파일의 로딩이 너무 느려 ㅠ.ㅠ</p>
<p>(원래 중간에 배치했었는데 블로그에 올려놓고 보다가 기겁하고 왼쪽으로 뺐다;;;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>위성[圍城] 이라는 책을 작년에야 알게 되고 올해에야 읽어본다.</p>
<p>전공이 문학이면서;;;</p>
<p><br class="spacer_" /></p>
<p>요즘들어 생활이 제자리로 돌아가는 것 같다.</p>
<p>주욱 오래갔으면 좋겠다.</p>
<p>좀 더 나아졌으면 하는건 사치한 바램이겠지?</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>누님 미니홈피에 들어가서 업뎃한 소원이의 사진을 보았다.</p>
<p>전에는 내가 어린애는 별로 좋아하는 편이 아니라고 생각했는데</p>
<p>조카가 생기고보니 그게 아니구나 라는 생각이 들었다.</p>
<p>그렇게 귀여울 수가 없다;;;</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.onuyi.net/blog/archives/741/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>주소복사용 swf 스크립</title>
		<link>http://www.onuyi.net/blog/archives/238?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25ec%25a3%25bc%25ec%2586%258c%25eb%25b3%25b5%25ec%2582%25ac%25ec%259a%25a9-swf-%25ec%258a%25a4%25ed%2581%25ac%25eb%25a6%25bdflash-flex-%25eb%2591%2590%25ea%25b0%2580%25ec%25a7%2580</link>
		<comments>http://www.onuyi.net/blog/archives/238#comments</comments>
		<pubDate>Fri, 07 Nov 2008 10:00:59 +0000</pubDate>
		<dc:creator>SOLID.H</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[주소복사]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[플래시에서
123456789101112131415161718192021222324252627282930313233&#160;package&#123;
import flash.display.Sprite;
import flash.display.StageScaleMode;
import flash.events.MouseEvent;
import flash.external.ExternalInterface;
import flash.system.System;
public class setclipboard extends Sprite &#123;
&#160; &#160;&#91;SWF&#40;width=&#34;1&#34;, height=&#34;1&#34;&#41;&#93;;
&#160; &#160;
&#160; &#160;private var str:String = &#34;&#34;;
&#160; &#160;private var exjs:String = &#34;&#34;;
&#160; &#160;private var spr:Sprite;
&#160; &#160;public function setclipboard&#40;&#41;
&#160; &#160;&#123;
&#160; &#160; &#160; &#160; &#160;str = this.loaderInfo.parameters.str;
&#160; &#160; &#160; &#160; &#160;exjs = this.loaderInfo.parameters.exjs;
&#160; &#160; &#160; &#160; &#160;stage.scaleMode = StageScaleMode.EXACT_FIT;
&#160; &#160; &#160; &#160; &#160;spr = new Sprite&#40;&#41;;
&#160; [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>플래시에서</p>
<div class="codecolorer-container actionscript blackboard codecolorer-noborder" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;package<span style="color: #66cc66;">&#123;</span><br />
<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #006600;">Sprite</span>;<br />
<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #006600;">StageScaleMode</span>;<br />
<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">MouseEvent</span>;<br />
<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">external</span>.<span style="color: #006600;">ExternalInterface</span>;<br />
<span style="color: #0066CC;">import</span> flash.<span style="color: #0066CC;">system</span>.<span style="color: #0066CC;">System</span>;<br />
<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> <span style="color: #0066CC;">setclipboard</span> <span style="color: #0066CC;">extends</span> Sprite <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp;<span style="color: #66cc66;">&#91;</span>SWF<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">width</span>=<span style="color: #ff0000;">&quot;1&quot;</span>, <span style="color: #0066CC;">height</span>=<span style="color: #ff0000;">&quot;1&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#93;</span>;<br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> str:<span style="color: #0066CC;">String</span> = <span style="color: #ff0000;">&quot;&quot;</span>;<br />
&nbsp; &nbsp;<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> exjs:<span style="color: #0066CC;">String</span> = <span style="color: #ff0000;">&quot;&quot;</span>;<br />
&nbsp; &nbsp;<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> spr:Sprite;<br />
&nbsp; &nbsp;<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> <span style="color: #0066CC;">setclipboard</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><br />
&nbsp; &nbsp;<span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;str = <span style="color: #0066CC;">this</span>.<span style="color: #006600;">loaderInfo</span>.<span style="color: #006600;">parameters</span>.<span style="color: #006600;">str</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;exjs = <span style="color: #0066CC;">this</span>.<span style="color: #006600;">loaderInfo</span>.<span style="color: #006600;">parameters</span>.<span style="color: #006600;">exjs</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0066CC;">stage</span>.<span style="color: #0066CC;">scaleMode</span> = StageScaleMode.<span style="color: #006600;">EXACT_FIT</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;spr = <span style="color: #000000; font-weight: bold;">new</span> Sprite<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;spr.<span style="color: #006600;">graphics</span>.<span style="color: #0066CC;">clear</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;spr.<span style="color: #006600;">graphics</span>.<span style="color: #0066CC;">beginFill</span><span style="color: #66cc66;">&#40;</span>0xFFFFFF,<span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;spr.<span style="color: #006600;">graphics</span>.<span style="color: #006600;">drawRect</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">1</span>,<span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;spr.<span style="color: #006600;">graphics</span>.<span style="color: #0066CC;">endFill</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;spr.<span style="color: #006600;">buttonMode</span> = <span style="color: #000000; font-weight: bold;">true</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;addChild<span style="color: #66cc66;">&#40;</span>spr<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;spr.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">CLICK</span>,onClick<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp;<span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp;<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onClick<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;flash.<span style="color: #0066CC;">system</span>.<span style="color: #0066CC;">System</span>.<span style="color: #0066CC;">setClipboard</span><span style="color: #66cc66;">&#40;</span>str<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ExternalInterface.<span style="color: #0066CC;">call</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'eval'</span>,exjs + <span style="color: #ff0000;">'()'</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp;<span style="color: #66cc66;">&#125;</span><br />
<span style="color: #66cc66;">&#125;</span></div></td></tr></tbody></table></div>
<p><br class="spacer_" /><br />
exjs는 자스함수명, 클립보드에 붙여넣기 한후 html의 자스함수 호출용</p>
<p>FlashVars로  불러오려면</p>
<p><span style="color: #ff0000; font-weight: bold;">?str=http://blog.onuyi.net&amp;exjs=test</span></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.onuyi.net/blog/archives/238/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SWF 포맷 구조</title>
		<link>http://www.onuyi.net/blog/archives/234?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=swf-%25ed%258f%25ac%25eb%25a7%25b7-%25ea%25b5%25ac%25ec%25a1%25b0</link>
		<comments>http://www.onuyi.net/blog/archives/234#comments</comments>
		<pubDate>Wed, 15 Oct 2008 10:40:58 +0000</pubDate>
		<dc:creator>SOLID.H</dc:creator>
				<category><![CDATA[actionscript]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[
참고)
http://www.m2osw.com/en/swf_alexref.html
No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<h3 class="posttitle"><a name="4579857"></a></h3>
<p>참고)</p>
<p><a href="http://www.m2osw.com/en/swf_alexref.html#swf_action">http://www.m2osw.com/en/swf_alexref.html</a></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.onuyi.net/blog/archives/234/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>as3에서 url로 받아온 파라미터를 처리</title>
		<link>http://www.onuyi.net/blog/archives/195?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=as3%25ec%2597%2590%25ec%2584%259c-url%25eb%25a1%259c-%25eb%25b0%259b%25ec%2595%2584%25ec%2598%25a8-%25ed%258c%258c%25eb%259d%25bc%25eb%25af%25b8%25ed%2584%25b0%25eb%25a5%25bc-%25ec%25b2%2598%25eb%25a6%25ac</link>
		<comments>http://www.onuyi.net/blog/archives/195#comments</comments>
		<pubDate>Sun, 17 Feb 2008 11:14:35 +0000</pubDate>
		<dc:creator>SOLID.H</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[파라미터 처리]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[as3에서 url로 받아온 파라미터를 처리

출처: http://blogs.adobe.com/pdehaan/2006/07/using_flashvars_with_actionscr.html
var tf:TextField = new TextField();tf.autoSize = TextFieldAutoSize.LEFT;tf.border = true;addChild(tf);

tf.appendText("params:" + "\n");try {    var keyStr:String;    var valueStr:String;    var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;    for (keyStr in paramObj) {        valueStr = String(paramObj[keyStr]);    [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<pre class="AS3">as3에서 url로 받아온 파라미터를 처리

출처: http://blogs.adobe.com/pdehaan/2006/07/using_flashvars_with_actionscr.html
<div style="padding: 10px; background-color: rgb(208, 255, 157);">var tf:TextField = new TextField();tf.autoSize = TextFieldAutoSize.LEFT;tf.border = true;addChild(tf);

tf.appendText("params:" + "\n");try {    var keyStr:String;    var valueStr:String;    var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;    for (keyStr in paramObj) {        valueStr = String(paramObj[keyStr]);        tf.appendText("\t" + keyStr + ":\t" + valueStr + "\n");    }} catch (error:Error) {    tf.appendText(error);}</div>

flex에서는

<strong style="font-weight: normal;">public var file_id:String = Application.application.parameters["fileid"];

<a href="http://flexdocs.kr/docs/flex2/langref/mx/core/Application.html#application" target="_blank">http://flexdocs.kr/docs/flex2/langref/mx/core/Application.html#application</a>

</strong></pre>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.onuyi.net/blog/archives/195/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Actionscript3 in MySQL</title>
		<link>http://www.onuyi.net/blog/archives/182?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=actionscript3-in-mysql</link>
		<comments>http://www.onuyi.net/blog/archives/182#comments</comments>
		<pubDate>Tue, 11 Dec 2007 20:18:23 +0000</pubDate>
		<dc:creator>SOLID.H</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[ActionScript 3.0]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[좋은거 발견;;
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;assql
http://code.google.com/p/assql/&#160; (IE에서만 보임)http://www.maclema.com/assql/
문서
[#M_croosdomain 보기&#124;닫기&#124;
To access your database server you will need a crossdomain.xml file on the root of the server the database is located on.
Example: This allows any website to access the database from a flex app.
&#60;?xml version=”1.0″?&#62;

&#60;!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"&#62;

&#60;cross-domain-policy&#62;

  &#60;allow-access-from domain=“*” to-ports=“3306″ /&#62;

&#60;/cross-domain-policy&#62;

Example 2: This allows yourdomain.com to access mysql.yourdomain.com: (Place [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p><span class="postbody"><font size="4"><span style="font-weight: bold;"><font size="2">좋은거 발견;;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br /></font>assql</span></font></p>
<p><a href="http://code.google.com/p/assql/" target="_blank">http://code.google.com/p/assql/</a>&nbsp; (IE에서만 보임)<br /><a href="http://www.maclema.com/assql/" target="_blank">http://www.maclema.com/assql/</a></p>
<p><a href="http://maclema.com/assql/asdoc/index.html" target="_blank">문서</a></p>
<p>[#M_croosdomain 보기|닫기|
<div style="padding: 10px; background-color: rgb(208, 255, 157);">To access your database server you will need a crossdomain.xml file on the root of the server the database is located on.</p>
<p>Example: This allows any website to access the database from a flex app.</p>
<p>&lt;?xml version=”1.0″?&gt;<br />
<br />
&lt;!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"&gt;<br />
<br />
&lt;cross-domain-policy&gt;<br />
<br />
  &lt;allow-access-from domain=“*” to-ports=“3306″ /&gt;<br />
<br />
&lt;/cross-domain-policy&gt;</p>
<p>
Example 2: This allows yourdomain.com to access mysql.yourdomain.com: (Place crossdomain.xml on root of mysql.yourdomain.com)</p>
<p>&lt;?xml version=”1.0″?&gt;<br />
<br />
&lt;!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"&gt;<br />
<br />
&lt;cross-domain-policy&gt;<br />
<br />
  &lt;allow-access-from domain=“*yourdomain.com” to-ports=“80,3306″ /&gt;<br />
<br />
&lt;/cross-domain-policy&gt;</p>
<p>
These should work, let me know if they dont.</div>
<p>_M#]</p>
<p>======================================================================================<br /><font style="font-weight: bold;" size="4">asql</font></p>
<p><a href="http://asql.mooska.pl/" target="_blank">http://asql.mooska.pl/</a></p>
<p></span><span class="postbody"><br />
&#8212;&#8212;&#8212;&#8212;- database/SQL &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
<br /></span>
<div style="padding: 10px; background-color: rgb(208, 255, 157);">
drop table if exists person;<br />
<br />
CREATE TABLE person<br />
<br />
(<br />
<br />
personID int NOT NULL AUTO_INCREMENT,<br />
<br />
PRIMARY KEY(personID),<br />
<br />
GivenName varchar(15),<br />
<br />
FamilyName varchar(25),<br />
<br />
Phone varchar(15)<br />
<br />
);<br />
<br />
INSERT INTO person (GivenName, FamilyName, Phone)<br />
<br />
VALUES (&#8216;Peter&#8217;, &#8216;Griffin&#8217;, &#8217;07 3344 5566&#8242;);<br />
<br />
INSERT INTO person (GivenName, FamilyName, Phone)<br />
<br />
VALUES (&#8216;Glenn&#8217;, &#8216;Quagmire&#8217;, &#8217;07 3456 7890&#8242;);<br />
<br />
select * from person;</div>
<p><span class="postbody"><br />
&#8212;&#8212;&#8212;&#8212;&#8212;- Flex code &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p></span>
<div style="padding: 10px; background-color: rgb(208, 255, 157);">
&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;<br />
<br />
&lt;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; layout=&#8221;absolute&#8221; applicationComplete=&#8221;ASQL()&#8221;&gt;<br />
<br />
&nbsp; &nbsp;&lt;mx:Script&gt;<br />
<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;![CDATA[</p>
<p>&nbsp; &nbsp;&nbsp; &nbsp;import pl.mooska.asql.*;<br />
<br />
&nbsp; &nbsp;&nbsp; &nbsp;import pl.mooska.asql.events.*;<br />
<br />
&nbsp; &nbsp;&nbsp; &nbsp;import flash.display.Sprite;</p>
<p>
&nbsp; &nbsp; &nbsp; private var connector:Asql = new Asql();//creating instance of asql<br />
<br />
&nbsp; &nbsp; &nbsp; [Bindable]<br />
<br />
&nbsp; &nbsp; &nbsp; public var recordset:Array;</p>
<p>&nbsp; &nbsp; &nbsp; public function ASQL():void<br />
<br />
&nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;connector.addEventListener( SQLEvent.CONNECT, handleConnect );<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;connector.addEventListener( SQLError.SQL_ERROR, handleError );<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;connector.addEventListener( SQLEvent.SQL_OK, handleOK )//will be invoked after succefull update or insert<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;connector.addEventListener(SQLEvent.SQL_DATA, handleData);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;connector.connect(&#8220;localhost&#8221;, &#8220;myuser&#8221;, &#8220;password&#8221;, &#8220;test2&#8243; , 3306);//connecting to the server<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//arguments are host, user, pass, database, and port (shouldnt change that one)<br />
<br />
&nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp;<br />
<br />
&nbsp; &nbsp; &nbsp; private function handleConnect ( evt:SQLEvent ) :void<br />
<br />
&nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;trace(&#8220;ASQL is connected&#8221;);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;connector.query(&#8220;select * from person&#8221;);//type a query, without semicolon at the end<br />
<br />
&nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; private function handleError ( evt:SQLError ) :void<br />
<br />
&nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; trace(&#8220;Error catched &#8220;+evt.text);<br />
<br />
&nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; private function handleOK ( evt:SQLEvent ) :void<br />
<br />
&nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;trace(&#8220;Command was succesfull &#8220;);<br />
<br />
&nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; private function handleData ( evt:SQLEvent ) :void<br />
<br />
&nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;trace(&#8220;Final data received&#8221;);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;trace( evt.data );//you get result as an array of objects, every object is one row<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//to get into value, just type evt.data[0].columnName etc<br />
<br />
&nbsp; &nbsp;&nbsp; &nbsp;recordset = evt.data;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//connector.disconnect();<br />
<br />
&nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp;<br />
<br />
&nbsp; &nbsp;&nbsp; &nbsp;]]&gt;<br />
<br />
&nbsp; &nbsp;&lt;/mx:Script&gt;<br />
<br />
&nbsp; &nbsp;&lt;mx:Canvas&gt;<br />
<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;mx:DataGrid dataProvider=&#8221;{recordset}&#8221; /&gt;<br />
<br />
&nbsp; &nbsp;&lt;/mx:Canvas&gt;<br />
<br />
&lt;/mx:Application&gt;</div>
<p>===========================================================================<br />AS3 라이브러리 정리</p>
<p><a href="http://riapp.egloos.com/3630552" target="_blank">http://riapp.egloos.com/3630552</a></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.onuyi.net/blog/archives/182/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MP3의 한글 ID3 태그 사용하기</title>
		<link>http://www.onuyi.net/blog/archives/119?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mp3%25ec%259d%2598-%25ed%2595%259c%25ea%25b8%2580-id3-%25ed%2583%259c%25ea%25b7%25b8-%25ec%2582%25ac%25ec%259a%25a9%25ed%2595%2598%25ea%25b8%25b0</link>
		<comments>http://www.onuyi.net/blog/archives/119#comments</comments>
		<pubDate>Wed, 05 Sep 2007 08:05:03 +0000</pubDate>
		<dc:creator>SOLID.H</dc:creator>
				<category><![CDATA[actionscript]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[ID3 태그가 UTF-8로 인코딩
일단 UTF-8로
출처: http://blog.paran.com/kalune/4600675 
ID3 태그 V1.0은 mp3데이터의 가장 마지막에 위치하고 있기 때문에 스트리밍 서비스에서 이용하기엔 적합하지 않습니다.
하지만 V2.0의 ID3 태그는 mp3 데이터 앞부분에 위치하고 있으니 대략 좆타~ 라고 역시 레퍼런스에 씌여 있더군요.
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;

MP3 audio files are able to contain an abundance of metadata
about the sound. This is most often used in music files [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>ID3 태그가 UTF-8로 인코딩</p>
<p>일단 UTF-8로</p>
<div style="padding: 10px; background-color: rgb(250, 255, 169);">출처: <a href="http://blog.paran.com/kalune/4600675" target="_blank">http://blog.paran.com/kalune/4600675</a> </p>
<p>ID3 태그 V1.0은 mp3데이터의 가장 마지막에 위치하고 있기 때문에 스트리밍 서비스에서 이용하기엔 적합하지 않습니다.<br />
하지만<span style="font-weight: bold;"> V2.0의 ID3 태그는 mp3 데이터 앞부분에 위치하고 있으니</span> 대략 좆타~ 라고 역시 레퍼런스에 씌여 있더군요.</div>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<div style="padding: 10px; background-color: rgb(208, 255, 157);">
<p class="docText">MP3 audio files are able to contain an abundance of metadata<br />
about the sound. This is most often used in music files to record the name of<br />
the song, the artist, album, genre, year of release, composer, etc. How much<br />
information is actually included in these tags depends on who encoded or tagged<br />
the file. In most cases though, you&#8217;ll at least be able to get at the<br />
<i>songname</i> and <i>artist</i> tag.</p>
<p class="docText">This data is available to you in ActionScript through the<br />
<i>id3</i> property of a <i>Sound</i> object. </p>
<p class="docText">This property is an instance of the <font style="color: rgb(255, 118, 53); font-weight: bold;" size="3"><i>flash.media.ID3Info</i></font><span style="font-weight: bold;"> </span>class, which<br />
contains the following properties:</p>
<ul style="color: rgb(23, 127, 205);">
<li>
<p class="docList"><tt>album</tt> </p>
</li>
<li>
<p class="docList"><tt>artist</tt> </p>
</li>
<li>
<p class="docList"><tt>comment</tt> </p>
</li>
<li>
<p class="docList"><tt>genre</tt> </p>
</li>
<li>
<p class="docList"><tt>songName</tt> </p>
</li>
<li>
<p class="docList"><tt>TRack</tt> </p>
</li>
<li>
<p class="docList"><tt>year</tt> </p>
</li>
</ul>
<p class="docText">So, to read the song&#8217;s name, you would access it as<br />
follows:</p>
<pre><span style="color: rgb(255, 0, 0);">_sound.id3.songName</span></pre>
</div>
<pre>--------------------------------------------------------------------</pre>
<p>///////////////////////////////////////참고////////////////////////////////////<br />http://getid3.sourceforge.net/<br />cookbook<br />레퍼런스</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.onuyi.net/blog/archives/119/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

