<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>【心得】AS3取得當前位址與網域</title>
<link>http://blog.roodo.com/esabear/archives/8761867.html/</link>
<description><![CDATA[　　在Flash中有時會需要取得自己完整的url或者是domain name，如果是在JavaScript中，用 window.location.href 或者是 window.location.hostname 就可以簡單取得，如: 
，由於Flash可以是嵌在網頁或者獨立執行的多媒體，所以取得方式不像JavaScript那麼直覺，主要有幾種作法：


root.loaderInfo
LocalConnection
ExternalInterface


視需求做選擇]]>
	</description>
<language>zh-tw</language>
<generator>Roodo Blog System</generator>
<copyright>All Rights Reserved</copyright>
<atom:link href="http://blog.roodo.com/esabear/archives/8761867-comment.xml" rel="self" type="application/rss+xml" />
<item>
	<title>回應：【心得】AS3取得當前位址與網域</title>
	<description><![CDATA[<a href='http://esabear.googlepages.com/self_location.fla' rel='nofollow'>http://esabear.googlepages.com/self_location.fla</a>
程式碼有打錯嗎 也許是篏入Flash的語法有問題吧
allowScriptAccess要設為true喔 
網頁篏Flash的方式五花八門 各種語法會有出入 要注意一下]]>
	</description>
	<link>http://blog.roodo.com/esabear/archives/8761867.html</link>
	<guid>http://blog.roodo.com/esabear/archives/8761867.html#comment-19564221</guid>
		<category>文章回應</category>
	<pubDate>Tue, 21 Jul 2009 16:59:47 +0800</pubDate>
</item>
<item>
	<title>回應：【心得】AS3取得當前位址與網域</title>
	<description><![CDATA[你好，我想請問是否有http://esabear.googlepages.com/self_location.swf的source檔.fla呢？因為我在IE中嘗試，幾乎都失敗。可以幫我一下嗎？感激]]>
	</description>
	<link>http://blog.roodo.com/esabear/archives/8761867.html</link>
	<guid>http://blog.roodo.com/esabear/archives/8761867.html#comment-19564053</guid>
	<author>ypwalter@aiweb.tw(Walter)</author>	<category>文章回應</category>
	<pubDate>Tue, 21 Jul 2009 16:19:36 +0800</pubDate>
</item>
</channel>
</rss>