Firefox can't open local HTML files with getURL
When Firefox is a the default browser getURL("localfile.html") will not work properly.
What happens is Firefox opens a blank tab then a second tab which can't locate the local file. Firefox then uses Google to try and locate a public website. So if you’re local files are within My Documents, Google redirects you to the page http://support.microsoft.com/kb/236621 "Cannot move or rename the Documents and Settings folder" which is the best match for a "documents and settings" search with "I'm feeling lucky".
Now here's the weird thing. Once one Firefox window is open, any more getURL functions will work. It doesn't work if you have two getURL functions on the same button but if you push the same button two times, the first will produce the error the second will work correctly.
Using getURL("localfile.html", "_blank") doesn’t change anything either.
Works fine with IE set as your default browser. No idea what a Mac does.
Publishing from Flash 8 Pro
Firefox version 1.5
IE version 6
Published as Action script 1.0 or 2.0 (makes no difference)
Published as player 7 or 8 (makes no difference)
Final published file is to be an EXE. Symptoms still happen when using the SWF file. When the SWF is embedded into a html page, everything works because a Firefox window is obviously already open.
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|URGENT - Open a local file & a local folder||oxydiom||Flash CS4||4||08-17-2009 07:34 AM|
|MX won't open some .fla files||garyross||Flash MX||3||09-05-2007 11:30 AM|
|using getURL to access network files||kaseymac78||Flash 8||10||03-03-2007 05:20 PM|
|Preload for HTML page with several SWF files||crismote||Flash MX 2004||2||05-23-2005 01:56 PM|