We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

accessing local swf file

more options

I have an odd problem that doesn't seem to be addressed. I have a web site that uses a combination of js and swf files to load and display thumbnails which then uses flash to resize them and flash player to display them. With the latest flash player and Firefox update, everything works fine when live. It also works fine when opened locally in IE8 and Chrome. However, these files won't load locally in Firefox since the updates, although they work fine when live.

Rolling back flash player might work, but I hesitate since everything is working except for this one thing

I have an odd problem that doesn't seem to be addressed. I have a web site that uses a combination of js and swf files to load and display thumbnails which then uses flash to resize them and flash player to display them. With the latest flash player and Firefox update, everything works fine when live. It also works fine when opened locally in IE8 and Chrome. However, these files won't load locally in Firefox since the updates, although they work fine when live. Rolling back flash player might work, but I hesitate since everything is working except for this one thing

所有回复 (6)

more options

Are you using the file:// protocol or http://localhost/ ?

What was the last version of Firefox in which this worked? It's possible that some security-related changes were made in the interim.

more options

How are you accessing your website? Directly by double clicking HTML files it should work fine. If you try to connect locally by directly typing the address on your web server or on a computer on the same network, you may have NAT problems. Type the IP address of your server instead of the hostname.

Finally make sure you link to the SWF file with relative paths.

more options

See also:

more options

Just to clarify..the problem occurs only in the flash section of the page. It will not load this section.

I'm using file://protocol and have no problems with anything else. I don't know the number of the firefox version, but this only occurred with the latest update. I allowed both flash and firefox updates at the same time.

I use relative paths which work everywhere else and open the html in the browser locally by either clicking the html file or File>Open File>Page Source

Flash trusted locations is one of the first things I did. Works fine for all other browsers.

I'm wondering if there is some connection to the new protected mode. Flash site says they are not supporting WindowXP with this, but it also says it will allow old security rules if on trusted location. Totally baffled.

The only other possibility I can think of is the coding. I have some problem there that I haven't addressed yet. But in saying that, it does work when live, so that doesn't seem overly likely.

more options

Then I think the source of the issue is located on your Flash plug-in. With all the respect and merits to Adobe, I think Flash is the worst and most used plug-in ever created. It works bad, but many websites use it. It is very unstable and heavy for most computers...

more options

I suspect it's a security restriction applicable to local files. For example, relative paths to parent or sibling folders may fail under the file:// protocol. You might or might not see an error in Firefox's Error Console (Ctrl_Shift+j).

Could you install a web server and use http://localhost/? Windows XP Pro includes IIS, or if it's more similar to your real hosting environment, you could get a "WAMP" package.

http://en.wikipedia.org/wiki/Comparison_of_WAMPs