Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

Flash calling window.location.hash causes IE6 crash
 

hackins




quote this post edit post

IP Loged report this post

Old Post  10-30-07 - 12:16 AM  
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/l...shAndFlash.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("java script: 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,

Atenciosamente
Marcio dos Santos Amorim
CEREBRUM - Websites e Softwares para Internet
http://www.cerebrum.com.br/
telefax: 55 (11) 6205.3350 - celular: 55 (11) 9603.3874
msn: atendimento@cerebrum.com.br - skype: atendimento_cerebrum





Post Follow-Up to this message ]
Re: Flash calling window.location.hash causes IE6 crash
 

hackins




quote this post edit post

IP Loged report this post

Old Post  10-30-07 - 12:16 AM  
This is a solution

http://www.ryangorer.com/blog/flash/


Post Follow-Up to this message ]
Re: Flash calling window.location.hash causes IE6 crash
 

ryanmg




quote this post edit post

IP Loged report this post

Old Post  11-05-07 - 11:18 PM  
The permalink for the solution is:

[url]http://www.ryangorer.com/blog/2007/10/12/setting_url_hash_value_from_flash.html[/u
rl]



Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 11:10 AM. Post New Thread   
  Previous Last Thread   Next Thread next
Flash Site Design archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top