LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-22-2007, 06:48 PM
ders5 ders5 is offline
Registered User
 
Join Date: May 2007
Posts: 1
Rep Power: 0
ders5 is on a distinguished road
SWF 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.

Using:
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.

Please help.
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML5 Coding Tools and Resources to Help You Cut Through The Clutters of Coding FlashMove HTML 5 and Javascript 0 11-26-2011 10:45 AM
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




All times are GMT. The time now is 07:26 AM.