Sorry if you guys worked it out.. I'm on the digest ;)

Ok,

The issue was a combination of problems.

1. I couldn't get fscommand working on IE because I was using
flashObject to write my tag during window.onload (bug in IE?) So I
defaulted to getURL.
2. Using getURL(javascript:) to change the hash tag breaks IE after 3
changes.
3. Being so pigheaded to believe that IE would be so stupid to not
include fscommand support for ActiveX controls if they are written
onload.

So I changed the page to write the flashObject inline and voila,
fscommand works and changing the hash via fscommand doesn't break IE.



-----Original Message-----
From: Drew Foehn 
Sent: Monday, 2006 May 01 10:35 AM
To: '[email protected]'
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Flashcoders] Deep Linking and the Back button. IE6 problem

Hi Kevin,

After wrestling with this issue for awhile and writing a solution
myself, I decided to try your more elegant implementation and found it
very useful, I really like the 'onHistoryChange event' notification
system. I tied it to the JavaScript Integration Kit to notify my flash
app.

I have an issue with IE that is very perplexing and it occurs with my
solution and yours. After making more than 2 calls to update the
location.hash object, IE6 freezes and stops loading the page. I think
it's the same issue that is documented here
http://www.thescripts.com/forum/threadnav157294-1-10.html and I don't
see a solution to it. Have you had this issue?

Cheers,

Drew Foehn
Actionscript Developer
HotHouse Interactive

---------------------------------
p:  +61 2 9432 3600
e:  [EMAIL PROTECTED]   
---------------------------------
HotHouse Interactive Pty Ltd
Level 3, 154 Pacific Highway
St Leonards NSW 2067
Australia
---------------------------------
www.hothouse.com.au <http://www.hothouse.com.au/>
---------------------------------


-- Original Message --
Date: Tue, 25 Apr 2006 11:50:33 -0400
From: Kevin Newman <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] Deep Linking and the Back button.
To: Flashcoders mailing list <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I have made a script that intends to solve this very issue. It is a
single javascript file (no extra server calls to grab a file to fill the
iframe, it's all done in javascript), with a method (addHistory) that
adds a history entry, and a delegation pattern for history change
notification. You can find it here:

http://www.unfocus.com/projects/HistoryKeeper/
http://www.unfocus.com/projects/source/

The history script only takes care of the history portion, you will have
to take care of the javascript/flash communication using one of the many
techniques available (my communication framework, or FlashJS, or
ExternalInterface), and you will need to set up a small script that will
update the flash movie when the state changes. The state will also need
to be maintained by your custom Flash scripting (however it is that you
build your app, I recommend MVC, and making a VC out of the history part
of the app).

I am working on a History Bridge (JS side is done) to take or this, but
it isn't ready for prime time yet.

Kevin N.



_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to