<?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>jacobmake &#187; Anchor</title>
	<atom:link href="http://www.jacobmake.com/tag/anchor/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jacobmake.com</link>
	<description>I have creative ADD</description>
	<lastBuildDate>Tue, 03 Jan 2012 20:41:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Anchor Links w/ Flash in Safari</title>
		<link>http://www.jacobmake.com/2009/02/anchor-links-w-flash-in-safari/</link>
		<comments>http://www.jacobmake.com/2009/02/anchor-links-w-flash-in-safari/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 16:32:44 +0000</pubDate>
		<dc:creator>jacobmake</dc:creator>
				<category><![CDATA[Things I've Learned]]></category>
		<category><![CDATA[Anchor]]></category>
		<category><![CDATA[Anchor Links]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Refresh]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://www.jacobmake.com/?p=138</guid>
		<description><![CDATA[boring helpful code stuff&#8230; Did you ever notice that if you try to navigateToURL() from inside Flash in Safari it will refresh the Flash on the page? Here is a quick work around You need to setup a JavaScript function that uses the DOM to fidget w/ the window.location.hash. It looks something like this; function [...]]]></description>
			<content:encoded><![CDATA[<p>boring helpful code stuff&#8230;</p>
<p>Did you ever notice that if you try to navigateToURL() from inside Flash in Safari it will refresh the Flash on the page? Here is a quick work around</p>
<p>You need to setup a JavaScript function that uses the DOM to fidget w/ the window.location.hash. It looks something like this;</p>
<pre><code>
function mapAnchor(anchor)
{
window.location.hash = anchor;
}
</code></pre>
<p>Then from ActionScript setup a navigateToURL() like this;</p>
<pre><code>var _anchorlink:URLRequest = new URLRequest("javascript:mapAnchor('"+anchorname+"')");</code></pre>
<p>where  anchorname is your anchor.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jacobmake.com/2009/02/anchor-links-w-flash-in-safari/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

