<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: StateManager</title>
	<link>http://exanimo.com/actionscript/statemanager/</link>
	<description>where matthew tretter types stuff</description>
	<pubDate>Mon, 08 Sep 2008 05:30:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: gordianknot</title>
		<link>http://exanimo.com/actionscript/statemanager/#comment-845</link>
		<dc:creator>gordianknot</dc:creator>
		<pubDate>Mon, 01 Sep 2008 19:03:04 +0000</pubDate>
		<guid>http://exanimo.com/actionscript/statemanager/#comment-845</guid>
		<description>so sad to hear you have discontinued it.
Although SWFAddress is more powerful but StateManager is more friendly and easy to use.</description>
		<content:encoded><![CDATA[<p>so sad to hear you have discontinued it.<br />
Although SWFAddress is more powerful but StateManager is more friendly and easy to use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gavin B</title>
		<link>http://exanimo.com/actionscript/statemanager/#comment-631</link>
		<dc:creator>Gavin B</dc:creator>
		<pubDate>Thu, 03 Jul 2008 17:44:19 +0000</pubDate>
		<guid>http://exanimo.com/actionscript/statemanager/#comment-631</guid>
		<description>Hi Mathew,

First off I would just like to thank you for StateManager.  Too bad you have stopped it's development.  

I have a quick question that hopefully you can answer.  I am deeplinking and have a preloader in my flash page, unfortunately, when I deeplink to a page other than the default address, the preloader does not function.  

I have initialized statemanager after the prelaoder.  Do you have any suggestions?

Thanks again

Gavin</description>
		<content:encoded><![CDATA[<p>Hi Mathew,</p>
<p>First off I would just like to thank you for StateManager.  Too bad you have stopped it&#039;s development.  </p>
<p>I have a quick question that hopefully you can answer.  I am deeplinking and have a preloader in my flash page, unfortunately, when I deeplink to a page other than the default address, the preloader does not function.  </p>
<p>I have initialized statemanager after the prelaoder.  Do you have any suggestions?</p>
<p>Thanks again</p>
<p>Gavin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nikon</title>
		<link>http://exanimo.com/actionscript/statemanager/#comment-284</link>
		<dc:creator>nikon</dc:creator>
		<pubDate>Mon, 28 Apr 2008 08:42:51 +0000</pubDate>
		<guid>http://exanimo.com/actionscript/statemanager/#comment-284</guid>
		<description>href="#about" onClick="javascript:getSWF("mySWF").navigate('about');return false;"</description>
		<content:encoded><![CDATA[<p>href=&#034;#about&#034; onClick=&#034;javascript:getSWF(&#034;mySWF&#034;).navigate(&#039;about&#039;);return false;&#034;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nikon</title>
		<link>http://exanimo.com/actionscript/statemanager/#comment-283</link>
		<dc:creator>nikon</dc:creator>
		<pubDate>Mon, 28 Apr 2008 08:39:21 +0000</pubDate>
		<guid>http://exanimo.com/actionscript/statemanager/#comment-283</guid>
		<description>hi matthew, i now use the following code to call the actionscript function: 
&lt;a href="#about" rel="nofollow"&gt;about&lt;/a&gt;

.. but it doesn't work:-( do i have to define the function getSWF() somewhere? i didn't find any information about that in the flex 3 reference.
it would be fantastic if you could modify the test03.zip file and send it to me. i'am sure i did forget anything really simple (because i didn't really understand this as3 stuff:)

thank you
-=nikon=-</description>
		<content:encoded><![CDATA[<p>hi matthew, i now use the following code to call the actionscript function:<br />
<a href="#about" rel="nofollow">about</a></p>
<p>.. but it doesn&#039;t work:-( do i have to define the function getSWF() somewhere? i didn&#039;t find any information about that in the flex 3 reference.<br />
it would be fantastic if you could modify the test03.zip file and send it to me. i&#039;am sure i did forget anything really simple (because i didn&#039;t really understand this as3 stuff:)</p>
<p>thank you<br />
-=nikon=-</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matthew</title>
		<link>http://exanimo.com/actionscript/statemanager/#comment-268</link>
		<dc:creator>matthew</dc:creator>
		<pubDate>Fri, 25 Apr 2008 05:54:51 +0000</pubDate>
		<guid>http://exanimo.com/actionscript/statemanager/#comment-268</guid>
		<description>Sorry, nikon.  Don't use document.getElementById.  Instead use a function like the getSWF function presented &lt;a href="http://livedocs.adobe.com/flex/3/html/help.html?content=19_External_Interface_09.html" rel="nofollow"&gt;here&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Sorry, nikon.  Don&#039;t use document.getElementById.  Instead use a function like the getSWF function presented <a href="http://livedocs.adobe.com/flex/3/html/help.html?content=19_External_Interface_09.html" rel="nofollow">here</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nikon</title>
		<link>http://exanimo.com/actionscript/statemanager/#comment-228</link>
		<dc:creator>nikon</dc:creator>
		<pubDate>Tue, 22 Apr 2008 10:05:18 +0000</pubDate>
		<guid>http://exanimo.com/actionscript/statemanager/#comment-228</guid>
		<description>hi matthew, i still need some help with the callback. do i need a recource file for the ExternalInterface? or maybe i made a mistake. i've uploaded the modified flash-1.fla example file and the html example site.
http://uptmoor.com/tmp/test03.zip
could you please take a look at it?

thanks a lot
-=nikon=-</description>
		<content:encoded><![CDATA[<p>hi matthew, i still need some help with the callback. do i need a recource file for the ExternalInterface? or maybe i made a mistake. i&#039;ve uploaded the modified flash-1.fla example file and the html example site.<br />
<a href="http://uptmoor.com/tmp/test03.zip" rel="nofollow">http://uptmoor.com/tmp/test03.zip</a><br />
could you please take a look at it?</p>
<p>thanks a lot<br />
-=nikon=-</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nathan</title>
		<link>http://exanimo.com/actionscript/statemanager/#comment-180</link>
		<dc:creator>nathan</dc:creator>
		<pubDate>Tue, 01 Apr 2008 12:09:01 +0000</pubDate>
		<guid>http://exanimo.com/actionscript/statemanager/#comment-180</guid>
		<description>so sad to hear you have discontinued it.
swfaddress is so unfriendly to use.</description>
		<content:encoded><![CDATA[<p>so sad to hear you have discontinued it.<br />
swfaddress is so unfriendly to use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nikon</title>
		<link>http://exanimo.com/actionscript/statemanager/#comment-167</link>
		<dc:creator>nikon</dc:creator>
		<pubDate>Fri, 28 Mar 2008 10:20:56 +0000</pubDate>
		<guid>http://exanimo.com/actionscript/statemanager/#comment-167</guid>
		<description>@matthew: i've added the as code to your example flash-1.fla and the onclick event to my html file. but i didn't get it. could you please take a look at the source code?
 -&#62; http://uptmoor.com/tmp/statemanager2/
have i made an anything wrong? 

greetings from berlin
-=nikon=-</description>
		<content:encoded><![CDATA[<p>@matthew: i&#039;ve added the as code to your example flash-1.fla and the onclick event to my html file. but i didn&#039;t get it. could you please take a look at the source code?<br />
 -&gt; <a href="http://uptmoor.com/tmp/statemanager2/" rel="nofollow">http://uptmoor.com/tmp/statemanager2/</a><br />
have i made an anything wrong? </p>
<p>greetings from berlin<br />
-=nikon=-</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matthew</title>
		<link>http://exanimo.com/actionscript/statemanager/#comment-163</link>
		<dc:creator>matthew</dc:creator>
		<pubDate>Thu, 27 Mar 2008 13:12:37 +0000</pubDate>
		<guid>http://exanimo.com/actionscript/statemanager/#comment-163</guid>
		<description>@nikon:
It's really only due to an implementation detail that those links work in FireFox.  If you want to do that, you'll have to add a callback from within your flash piece and call that when the links are clicked.  Your ActionScript will look something like this:

&lt;pre&gt;&lt;code&gt;import flash.external.ExternalInterface;
ExternalInterface.addCallback('navigate', navigate);
function navigate(stateID:String):void
{
    StateManager.setState(stateID);
}
&lt;/code&gt;&lt;/pre&gt;

And your JavaScript will look like this:

&lt;pre&gt;&lt;code&gt;document.getElementById('aboutLink').onclick = function()
{
    document.getElementById('mySWF').navigate('about');
    return false;
}
&lt;/code&gt;&lt;/pre&gt;

This assumes that your HTML link has id "aboutLink" and your SWF has id "mySWF."</description>
		<content:encoded><![CDATA[<p>@nikon:<br />
It&#039;s really only due to an implementation detail that those links work in FireFox.  If you want to do that, you&#039;ll have to add a callback from within your flash piece and call that when the links are clicked.  Your ActionScript will look something like this:</p>
<pre><code>import flash.external.ExternalInterface;
ExternalInterface.addCallback('navigate', navigate);
function navigate(stateID:String):void
{
    StateManager.setState(stateID);
}
</code></pre>
<p>And your JavaScript will look like this:</p>
<pre><code>document.getElementById('aboutLink').onclick = function()
{
    document.getElementById('mySWF').navigate('about');
    return false;
}
</code></pre>
<p>This assumes that your HTML link has id &#034;aboutLink&#034; and your SWF has id &#034;mySWF.&#034;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nikon</title>
		<link>http://exanimo.com/actionscript/statemanager/#comment-161</link>
		<dc:creator>nikon</dc:creator>
		<pubDate>Thu, 27 Mar 2008 11:20:26 +0000</pubDate>
		<guid>http://exanimo.com/actionscript/statemanager/#comment-161</guid>
		<description>hi, i'm trying to manipulate a flash movie with html links. it works well with firefox but in safari and IE the url changes but not the fash content. you have to reload the page manually.

here's an example
http://uptmoor.com/tmp/statemanager/

does anybody have an idea how i could solve this?

thanks for help
nikon</description>
		<content:encoded><![CDATA[<p>hi, i&#039;m trying to manipulate a flash movie with html links. it works well with firefox but in safari and IE the url changes but not the fash content. you have to reload the page manually.</p>
<p>here&#039;s an example<br />
<a href="http://uptmoor.com/tmp/statemanager/" rel="nofollow">http://uptmoor.com/tmp/statemanager/</a></p>
<p>does anybody have an idea how i could solve this?</p>
<p>thanks for help<br />
nikon</p>
]]></content:encoded>
	</item>
</channel>
</rss>
