<?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; FireFox</title>
	<atom:link href="http://hangunsworld.com/blog/tag/firefox/feed" rel="self" type="application/rss+xml" />
	<link>http://hangunsworld.com/blog</link>
	<description>about ActionScript, Flash, Web and more...</description>
	<lastBuildDate>Wed, 01 Feb 2012 01:36:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>뉴스 사이트 귀찮은 자바스크립트 차단하기</title>
		<link>http://hangunsworld.com/blog/898</link>
		<comments>http://hangunsworld.com/blog/898#comments</comments>
		<pubDate>Sat, 28 May 2011 15:29:26 +0000</pubDate>
		<dc:creator>Hangun's World</dc:creator>
				<category><![CDATA[Others]]></category>
		<category><![CDATA[Adblock Plus]]></category>
		<category><![CDATA[Banner]]></category>
		<category><![CDATA[FireFox]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://hangunsworld.com/blog/?p=898</guid>
		<description><![CDATA[가끔씩 링크를 클릭해서 뉴스 사이트 접속하면 배너광고가 도배되고, 마우스를 이동하다 보면 링크 위로 광고들이 나타나는 등 짜증나는 경우가 많습니다. 심지어는 브라우저 창크기를 마음대로 변경하기 까지&#8230;&#8230; 이건 뭐 언론사인지 성인사이트인지 분간을 할 수도 없고&#8230;&#8230; 그래서 파이어폭스의 Adblock Plus를 사용해서 귀찮은 자바스크립트나 광고 사이트를 차단하고 사용하죠. 윈도우 다시 설치하거나 했을 때 일일이 찾아서 차단하기도 귀찮아서 목록으로 정리해 <a href='http://hangunsworld.com/blog/898'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>가끔씩 링크를 클릭해서 뉴스 사이트 접속하면 배너광고가 도배되고, 마우스를 이동하다 보면 링크 위로 광고들이 나타나는 등 짜증나는 경우가 많습니다. 심지어는 브라우저 창크기를 마음대로 변경하기 까지&#8230;&#8230; 이건 뭐 언론사인지 성인사이트인지 분간을 할 수도 없고&#8230;&#8230;</p>
<p>그래서 파이어폭스의 Adblock Plus를 사용해서 귀찮은 자바스크립트나 광고 사이트를 차단하고 사용하죠. 윈도우 다시 설치하거나 했을 때 일일이 찾아서 차단하기도 귀찮아서 목록으로 정리해 봅니다.</p>
<p><strong>자바스크립트 차단 목록</strong><br />
||keywordsconnect.com^ &#8211;  문맥광고<br />
||keywordlink.co.kr^ &#8211; 문맥광고<br />
||semanticrep.com^ &#8211;  창 리사이즈</p>
<p><strong>배너광고 차단 목록</strong><br />
||adcreative.naver.com^<br />
||adget.co.kr^<br />
||adimg.daumcdn.net^<br />
||amsv2.daum.net^<br />
||contextads.net^<br />
||doubleclick.net^<br />
||googlesyndication.com^<br />
||nasmedia.co.kr^<br />
||realclick.co.kr^<br />
||xcdnplus.co.kr^</p>
]]></content:encoded>
			<wfw:commentRss>http://hangunsworld.com/blog/898/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>플래시&#8230; 이대로 괜찮을지 모르겠군요.</title>
		<link>http://hangunsworld.com/blog/805</link>
		<comments>http://hangunsworld.com/blog/805#comments</comments>
		<pubDate>Fri, 19 Nov 2010 07:03:37 +0000</pubDate>
		<dc:creator>Hangun's World</dc:creator>
				<category><![CDATA[Flash Player]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[FireFox]]></category>
		<category><![CDATA[Galaxy Tab]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Samsung]]></category>

		<guid isPermaLink="false">http://hangunsworld.com/blog/?p=805</guid>
		<description><![CDATA[흥미로운 기사(또는 포스트)가 있어서 링크 걸어 봅니다. Galaxy Tab Flash Support Shows Flash Sucks? 간단히 정리하면, 플래시 플레이어가 비대하고 버그가 많다. 모질라 파이어폭스는 플래시 충돌로 인해서 브라우저까지 문제가 생기는 것 때문에, 아예 플래시 플러그인을 별도의 프로세스로 만들어서, 문제가 생기면 플래시 혼자 죽고, 브라우저는 영향이 없도록 했다. 구글은 크롬에, 어도비 플래시 플러그인을 사용하지 않고, 내장 플래시 <a href='http://hangunsworld.com/blog/805'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>흥미로운 기사(또는 포스트)가 있어서 링크 걸어 봅니다.<br />
<a href="http://besthubris.com/computers-internet/software-computers-internet/galaxy-tab-flash-support-shows-flash-sucks/">Galaxy Tab Flash Support Shows Flash Sucks?</a></p>
<p>간단히 정리하면,<br />
플래시 플레이어가 비대하고 버그가 많다.<br />
모질라 파이어폭스는 플래시 충돌로 인해서 브라우저까지 문제가 생기는 것 때문에, 아예 플래시 플러그인을 별도의 프로세스로 만들어서, 문제가 생기면 플래시 혼자 죽고, 브라우저는 영향이 없도록 했다.<br />
구글은 크롬에, 어도비 플래시 플러그인을 사용하지 않고, 내장 플래시 플러그인을 직접 개발했다.<br />
애플은 iOS에 아예 플래시를 지원하지 않는다.<br />
플래시 미지원은 애플의 약점이고, 구글은 애플과 경쟁을 위해 플래시를 지원하기로 했다.<br />
기즈모도의 갤탭 리뷰를 보면, 역설적으로 플래시 지원으로 인한 브라우저 성능 저하 및 빠른 배터리 소모 등의 문제를 겪는다.<br />
어도비가 더 나은 플러그인(최소한 모바일 용이라도)을 내놓지 않는다면, 플래시는 오래가지 못할 것이다&#8230;</p>
<p>플래시 개발자의 한 사람으로서, 암담하네요.<br />
어도비, 어떻게 좀 해봐&#8230; 언제까지 까이기만 할건지&#8230; 멋지게 애플에 한 방 먹여줘야 할거 아냐&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://hangunsworld.com/blog/805/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>FP10 hangs uploading to .htpasswd protected directory.</title>
		<link>http://hangunsworld.com/blog/448</link>
		<comments>http://hangunsworld.com/blog/448#comments</comments>
		<pubDate>Thu, 08 Jan 2009 13:07:31 +0000</pubDate>
		<dc:creator>Hangun's World</dc:creator>
				<category><![CDATA[Flash Player]]></category>
		<category><![CDATA[.htpasswd]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[FireFox]]></category>
		<category><![CDATA[Flash Player 10]]></category>
		<category><![CDATA[hang]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Upload]]></category>

		<guid isPermaLink="false">http://hangunsworld.com/blog/?p=448</guid>
		<description><![CDATA[Flash Player 10에서 .htpasswd를 사용하여 보호되는 디렉토리로 파일을 업로드하는 경우, 플래시 플레이어가 다운되는 문제가 발생합니다. 이 문제는 특히 FireFox에서 더 심각하여, FireFox에서는 아예 업로드가 불가능합니다. Flash Player 9에서도 비슷한 문제가 있었지만, 재차 업로드하면 되었으나, 10에선 아예 안됩니다. 재현1 &#8220;Upload&#8221; 버튼 클릭하여 이미지 업로드 로그인 (test / test) 업로드 중지됨 브라우저 종료하면 브라우저 다운 재현2 (Internet <a href='http://hangunsworld.com/blog/448'>[...]</a>]]></description>
			<content:encoded><![CDATA[<div class="korean">Flash Player 10에서 .htpasswd를 사용하여 보호되는 디렉토리로 파일을 업로드하는 경우, 플래시 플레이어가 다운되는 문제가 발생합니다. 이 문제는 특히 FireFox에서 더 심각하여, FireFox에서는 아예 업로드가 불가능합니다. Flash Player 9에서도 비슷한 문제가 있었지만, 재차 업로드하면 되었으나, 10에선 아예 안됩니다.</p>
<p><strong>재현1</strong></p>
<ol>
<li>&#8220;Upload&#8221; 버튼 클릭하여 이미지 업로드</li>
<li>로그인 (test / test)</li>
<li>업로드 중지됨</li>
<li>브라우저 종료하면 브라우저 다운</li>
</ol>
<p><strong>재현2 (Internet Explorer)</strong></p>
<ol>
<li>&#8220;Load&#8221; 버튼 클릭하여 이미지 로드</li>
<li>로그인 (test / test)</li>
<li>이미지 로드 완료되면 화면에 표시</li>
<li>&#8220;Upload&#8221; 버튼 클릭하여 이미지 업로드</li>
<li>이미지 업로드 완료</li>
</ol>
<p><strong>재현2 (FireFox)</strong></p>
<ol>
<li>&#8220;Load&#8221; 버튼 클릭하여 이미지 로드</li>
<li>로그인 (test / test)</li>
<li>이미지 로드 완료되면 화면에 표시</li>
<li>&#8220;Upload&#8221; 버튼 클릭하여 이미지 업로드</li>
<li>로그인 (test / test). 로그인 팝업의 UI가 2번의 UI와 다름.</li>
<li>업로드 중지됨</li>
<li>브라우저 종료하면 브라우저 다운</li>
</ol>
<p>이 문제를 피하려면, Flash Player에서 파일을 업로드하는 PHP 파일은 .htpasswd의 영향을 받지 않는 폴더에 위치하여, 로그인 과정이 없이 파일의 업로드가 이뤄지도록 해야 합니다. 또는 IE에서만 업로드가 가능하도록 하며, 업로드 전에 로그인을 거치도록 구성할 필요가 있습니다.</p>
<p>IE와 FF를 제외한 다른 브라우저에서는 테스트를 해보지 못했습니다. 다른 브라우저를 사용하는 사람들은 한 번 테스트 후에 결과를 코멘트에 남겨 주세요.</p></div>
<div class="english">Flash Player 10 hangs when you upload a file to a directory protected with the .htpasswd feature. This is more critical in FireFox, uploading a file is impossible. The same problem occured in Flash Player 9, but you can upload files in the second try. In FP10, you can&#8217;t.</p>
<p><strong>reproduce1</strong></p>
<ol>
<li>Click &#8220;Upload&#8221; button to upload an image.</li>
<li>Login. (test / test)</li>
<li>Uploading process halts.</li>
<li>Close the browse, and it crashes.</li>
</ol>
<p><strong>reproduce2 (Internet Explorer)</strong></p>
<ol>
<li>Click &#8220;Load&#8221; button to load an image.</li>
<li>Login. (test / test)</li>
<li>After the loading finished, the image displayed.</li>
<li>Click &#8220;Upload&#8221; button to upload an image.</li>
<li>Uploading process finished successfully.</li>
</ol>
<p><strong>reproduce2 (FireFox)</strong></p>
<ol>
<li>Click &#8220;Load&#8221; button to load an image.</li>
<li>Login. (test / test)</li>
<li>After the loading finished, the image displayed.</li>
<li>Click &#8220;Upload&#8221; button to upload an image.</li>
<li>Login (test / test). The UI of the Login popup is different from the procedure 2.</li>
<li>Uploading process halts.</li>
<li>Close the browser, and it crashes.</li>
</ol>
<p>To avoid the problem, place the PHP file, that handles the uploaded file from Flash Player, on a directory which is not affected by .htpasswd. Or filter browsers to accept only IE, then, put the login process before upload a file.</p>
<p>I tested in IE and FF. If you tested in other browser, please leave a comment about the result.</p></div>
<div class="japanese">Flash Player 10で .htpasswdを使って保護されているフォルダにファイルをアップロードする場合、Flash Playerがクラッシュする問題があるんです。これはFireFoxでもっとひどくて、FireFoxではファイルのアップロードが不可能です。Flash Player 9も同じ問題があったが、再びアップロードすればできたのに、10は全然ダメ。</p>
<p><strong>再見1</strong></p>
<ol>
<li>&#8220;Upload&#8221;ボタンをクリックして、イメージをアップロード。</li>
<li>ログイン (test / test)</li>
<li>アップロードが中止される。</li>
<li>ブラウザを閉じると、クラッシュ。</li>
</ol>
<p><strong>再見2 (Internet Explorer)</strong></p>
<ol>
<li>&#8220;Load&#8221;ボタンをクリックして、イメージをロード</li>
<li>ログイン (test / test)</li>
<li>ロードが終わったら、イメージが表す。</li>
<li>&#8220;Upload&#8221; ボタンをクリックして、イメージをアップロード。</li>
<li>アップロード終了。</li>
</ol>
<p><strong>再見2 (FireFox)</strong></p>
<ol>
<li>&#8220;Load&#8221;ボタンをクリックして、イメージをロード</li>
<li>ログイン (test / test)</li>
<li>ロードが終わったら、イメージが表す。</li>
<li>&#8220;Upload&#8221; ボタンをクリックして、イメージをアップロード。</li>
<li>ログイン (test / test). ログインウィンドーのUIが2番目と違う。</li>
<li>アップロードが中止される。</li>
<li>ブラウザを閉じると、クラッシュ。</li>
</ol>
<p>もの問題を回避する為には、Flash PlayerからファイルをアップロードするPHPファイルを.htpasswdの影響のないフォルダに置く。他にはIEだけでアップロードが出来るようにし、アップロードの前にログインさせる必要があります。</p>
<p>私はIEとFFしかテストして見ました。他のブラウザでテストした方は、コメントを残してください。</p></div>
<p><script type="text/javascript">
insertFlashObject("http://hangunsworld.com/blog/wp-content/uploads/2009/01/htpasswd.swf", 600, 250);
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://hangunsworld.com/blog/448/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Web Developer Toolbar&#8217;s Display Object Information</title>
		<link>http://hangunsworld.com/blog/381</link>
		<comments>http://hangunsworld.com/blog/381#comments</comments>
		<pubDate>Thu, 25 Sep 2008 04:43:43 +0000</pubDate>
		<dc:creator>Hangun's World</dc:creator>
				<category><![CDATA[Others]]></category>
		<category><![CDATA[Debug]]></category>
		<category><![CDATA[FireFox]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Web Developer Toolbar]]></category>

		<guid isPermaLink="false">http://hangunsworld.com/blog/?p=381</guid>
		<description><![CDATA[파이어 폭스의 익스텐션 중에서 웹 디벨로퍼 툴바의 기능 중 플래시 디버깅에 유용한 기능이 있어서 소개합니다. Information > Display Object Information 메뉴를 선택하면, 플래시 오브젝트의 태그를 화면에 디스플레이 해 줍니다. 물론 소스보기를 통해서도 확인할 수 있는 내용이지만, 원하는 부분을 쉽게 찾기 어렵죠. 게다가 자바스크립트를 통해서 입력된 경우에는 더욱 그렇고요. 위 기능을 사용하면 매우 편리합니다. There is <a href='http://hangunsworld.com/blog/381'>[...]</a>]]></description>
			<content:encoded><![CDATA[<div class="korean">파이어 폭스의 익스텐션 중에서 <a href="https://addons.mozilla.org/ko/firefox/addon/60">웹 디벨로퍼 툴바</a>의 기능 중 플래시 디버깅에 유용한 기능이 있어서 소개합니다.<br />
Information > Display Object Information 메뉴를 선택하면, 플래시 오브젝트의 태그를 화면에 디스플레이 해 줍니다. 물론 소스보기를 통해서도 확인할 수 있는 내용이지만, 원하는 부분을 쉽게 찾기 어렵죠. 게다가 자바스크립트를 통해서 입력된 경우에는 더욱 그렇고요. 위 기능을 사용하면 매우 편리합니다.</div>
<div class="english">There is a useful feature in Web Developer Toolbar extension for FireFox. If Display Object Information menu is activated, Flash objects&#8217; tags are displayed on the screen. It is useful when you debug your Flash applications.</div>
<div class="japanese">FireFox用Web Developer Toolbarの中でデバッグする時役に立つ機能があります。Display Object Informationメーにュを実行すると、フラッシュオブゼクトのタグを示します。デバッグする時、有用なものです。</div>
<p><img src="http://hangunsworld.com/blog/wp-content/uploads/2008/09/screen03.jpg" alt="" title="Display Object Information" width="300" height="300" class="alignnone size-full wp-image-385" /> <a href='http://hangunsworld.com/blog/wp-content/uploads/2008/09/screen02.jpg'><img src="http://hangunsworld.com/blog/wp-content/uploads/2008/09/screen02-300x249.jpg" alt="" title="Display Object Information" width="300" height="249" class="alignnone size-medium wp-image-384" /></a><br />
<a href='http://hangunsworld.com/blog/wp-content/uploads/2008/09/screen01.jpg'><img src="http://hangunsworld.com/blog/wp-content/uploads/2008/09/screen01-300x207.jpg" alt="" title="Source Code View" width="300" height="207" class="alignnone size-medium wp-image-383" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://hangunsworld.com/blog/381/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>URLNavigator class.</title>
		<link>http://hangunsworld.com/blog/263</link>
		<comments>http://hangunsworld.com/blog/263#comments</comments>
		<pubDate>Fri, 04 Apr 2008 07:31:52 +0000</pubDate>
		<dc:creator>Hangun's World</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[ActionScript 3.0]]></category>
		<category><![CDATA[FireFox]]></category>
		<category><![CDATA[navigateToURL]]></category>
		<category><![CDATA[net]]></category>

		<guid isPermaLink="false">http://hangunsworld.com/blog/?p=263</guid>
		<description><![CDATA[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 <a href='http://hangunsworld.com/blog/263'>[...]</a>]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
</pre></td><td class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #3f5fbf;">/**
 * URLNavigator
 *
 * The URLNavigator class extends the Flash built-in method, navigateToURL.
 * This class copies the Firefox browser's link-click action.
 * If you click on a link with the &quot;Ctrl&quot; key held down, the link will be opened in a new window or a new tab, depend on the browser's settings.
 * Or Flash Player tries to download the url, if the &quot;Alt&quot; key is held down.
 *
 * @author: Han Sanghun (http://hangunsworld.com, hanguns@gmail.com)
 * @created: 2008 04 04
 * @last modified: 2008 04 04
 *
 * Modify Histories
*/</span>
&nbsp;
&nbsp;
<span style="color: #9900cc; font-weight: bold;">package</span> com<span style="color: #000066; font-weight: bold;">.</span>hangunsworld<span style="color: #000066; font-weight: bold;">.</span>net<span style="color: #000000;">&#123;</span>
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">import</span>	<span style="color: #004993;">flash.net</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">navigateToURL</span><span style="color: #000066; font-weight: bold;">;</span>
	<span style="color: #0033ff; font-weight: bold;">import</span>	<span style="color: #004993;">flash.net</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">URLRequest</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">import</span>	com<span style="color: #000066; font-weight: bold;">.</span>hangunsworld<span style="color: #000066; font-weight: bold;">.</span>net<span style="color: #000066; font-weight: bold;">.</span>Downloader<span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> URLNavigator<span style="color: #000000;">&#123;</span>
&nbsp;
		<span style="color: #009900; font-style: italic;">// Downloader object.</span>
		<span style="color: #6699cc; font-weight: bold;">var</span> dloader<span style="color: #000066; font-weight: bold;">:</span>Downloader<span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
		<span style="color: #3f5fbf;">/**
		 * Constructor function.
		 */</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> URLNavigator<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
			dloader = <span style="color: #0033ff; font-weight: bold;">new</span> Downloader<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #000000;">&#125;</span><span style="color: #009900; font-style: italic;">// end constructor</span>
&nbsp;
		<span style="color: #3f5fbf;">/**
		 * Handles the URL depending on the properties provided.
		 *
		 * @param ur An URLRequest object.
		 * @param target A String value specifies the target window. [OPTIONAL]
		 * @param ctrlkey A Boolean value indicates whether the &quot;Ctrl&quot; key is held down. [OPTIONAL]
		 * @param altkey A Boolean value indicates where the &quot;Alt&quot; key is held down. [OPTIONAL]
		 */</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> <span style="color: #004993;">navigateToURL</span><span style="color: #000000;">&#40;</span>ur<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">URLRequest</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #004993;">target</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">String</span>=<span style="color: #990000;">&quot;_self&quot;</span><span style="color: #000066; font-weight: bold;">,</span> ctrlkey<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Boolean</span>=<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000066; font-weight: bold;">,</span> altkey<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Boolean</span>=<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>
&nbsp;
			<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>ctrlkey<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
&nbsp;
				<span style="color: #009900; font-style: italic;">// If &quot;Ctrl&quot; key is held down,</span>
				<span style="color: #009900; font-style: italic;">// opens the URL in a new window or a new tab, depend on the browser's settings.</span>
				<span style="color: #004993;">flash.net</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">navigateToURL</span><span style="color: #000000;">&#40;</span>ur<span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;_blank&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
			<span style="color: #000000;">&#125;</span><span style="color: #0033ff; font-weight: bold;">else</span> <span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>altkey<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
&nbsp;
				<span style="color: #009900; font-style: italic;">// If &quot;Alt&quot; key is held down,</span>
				<span style="color: #009900; font-style: italic;">// downlaods the URL via a Downloader object.</span>
				dloader<span style="color: #000066; font-weight: bold;">.</span>downloadURL<span style="color: #000000;">&#40;</span>ur<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
			<span style="color: #000000;">&#125;</span><span style="color: #0033ff; font-weight: bold;">else</span><span style="color: #000000;">&#123;</span>
&nbsp;
				<span style="color: #009900; font-style: italic;">// Otherwise, opens the URL in the window specified by the &quot;target&quot; parameter.</span>
				<span style="color: #004993;">flash.net</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">navigateToURL</span><span style="color: #000000;">&#40;</span>ur<span style="color: #000066; font-weight: bold;">,</span> <span style="color: #004993;">target</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
			<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #000000;">&#125;</span><span style="color: #009900; font-style: italic;">// end navigateToURL</span>
&nbsp;
	<span style="color: #000000;">&#125;</span><span style="color: #009900; font-style: italic;">// end class</span>
&nbsp;
<span style="color: #000000;">&#125;</span><span style="color: #009900; font-style: italic;">// end package</span></pre></td></tr></table></div>

<p>Usage sample code.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">import</span>	com<span style="color: #000066; font-weight: bold;">.</span>hangunsworld<span style="color: #000066; font-weight: bold;">.</span>net<span style="color: #000066; font-weight: bold;">.</span>URLNavigator<span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
<span style="color: #004993;">stage</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">MouseEvent</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000066; font-weight: bold;">,</span> clickListener<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
&nbsp;
<span style="color: #6699cc; font-weight: bold;">var</span> un<span style="color: #000066; font-weight: bold;">:</span>URLNavigator = <span style="color: #0033ff; font-weight: bold;">new</span> URLNavigator<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
<span style="color: #339966; font-weight: bold;">function</span> clickListener<span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">MouseEvent</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>
&nbsp;
	<span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">url</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">String</span> = <span style="color: #990000;">&quot;http://hangunsworld.com/blog&quot;</span><span style="color: #000066; font-weight: bold;">;</span>
	<span style="color: #6699cc; font-weight: bold;">var</span> ur<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">URLRequest</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">URLRequest</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">url</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
	un<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">navigateToURL</span><span style="color: #000000;">&#40;</span>ur<span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;_self&quot;</span><span style="color: #000066; font-weight: bold;">,</span> e<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">ctrlKey</span><span style="color: #000066; font-weight: bold;">,</span> e<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">altKey</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>You can download the class file <a href="/classes/com/hangunsworld/net/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://hangunsworld.com/blog/263/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

