Thomas James Thorstensson

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromThomas James Thorstensson
ToMe
SubjectIMPORTANT QUESTION, PROB RE NETSCAPE
Date15 May 2003 6:08 PM
thx for an excellent script for switching stylesheets. If you go to
xxx.xxxxxxxxxxxx.xxx you can see how I use it to switch them from inside
Flash. Problem is that this only works in IE;it is not the switching that
is a problem, but in Netscape, the switching of the stylesheets seems to
unload the Flash file. Do you have any clues? Go to my site, first from IE,
then compare with say NS7. I would appreciate feedback a lot. I have tried
many solutions, but even if you wait for the swf to load before you switch
sheets, the Swf gets unloaded. If you put the switch button separate from
loading the file, and switch the sheetsOnce the file is loaded, and
running, it also gets unloaded. But IE works fine. Why?
FromMe
ToThomas James Thorstensson
SubjectRe: IMPORTANT QUESTION, PROB RE NETSCAPE
Date16 May 2003 9:01 AM
I have heard of problems like this before with Netscape and Opera 7. I
assume you use
getUrl("javascript:changeSomethingWithScript")
If so, I think it is unloading the swf and attempting to replace it with
the url you just gave it, even though the url is not one that should unload
the page. As I am not a flash programmer, I cannot offer any direct
solution but you may want to try the flash equivalent of

void getUrl("javascript:changeSomethingWithScript")

like you would do in JavaScript:
javascript:void(confirm('are you sure'))
to stop it returning a value. Sorry, but I do not know what is possible.


Tarquin
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.