Flash calling window.location.hash causes IE6 crash
- From: "Simula" <pearstudios@xxxxxxxxx>
- Date: 6 Aug 2005 18:12:24 -0700
I am developing an HTML javascript application and I want to preserve
state in a way that can be book-marked. I chose HTML anchors as a means
of preserving state. When the application changes state, the HTML page
URL would change from default.html to default.html#stateA.
example: http://pearstudios.com/javascript/locationHashAndFlash.html
This has worked perfectly within HTML and javascript alone, however,
when connecting Flash and javascript, this is the one sticking point.
Every other javascript function that I have called from Flash using
getURL("javascript: x"); works perfectly, but when window.location.hash
= "x";, window.location.href = "baseUrl.html#" + "x";, or
window.location.assign("baseUrl.html#" + "x"); is called from Flash, IE
6.0 crashes (or replaces the current page with a blank page). Oddly,
the crash occurs the second time Flash calls the javascript function.
Does anyone have any idea why this is happening and how I can get
around this problem?
Thanks,
Mark
.
- Follow-Ups:
- Re: Flash calling window.location.hash causes IE6 crash
- From: Martin Honnen
- Re: Flash calling window.location.hash causes IE6 crash
- From: Richard Cornford
- Re: Flash calling window.location.hash causes IE6 crash
- Prev by Date: Re: MAKE A JAVER SCRIPT --CAN IT BE DONE?
- Next by Date: need help with random pictures
- Previous by thread: javascript form action = send form details to ASP page
- Next by thread: Re: Flash calling window.location.hash causes IE6 crash
- Index(es):
Relevant Pages
|
Loading