Solved

Play Locally Hosted Flash (SWF) Files on Remotely Hosted Web Page

Posted on 2011-02-15
5
310 Views
Last Modified: 2012-05-11
I'm trying to play a locally hosted flash (swf) file via a remote web page.

The code on the web page is:

<object WIDTH="100%" HEIGHT="100%">
<param name="movie" value="file:///C:/creatives/269.swf">
<embed src="file:///C:/creatives/269.swf" WIDTH="100%" HEIGHT="100%">
</embed>
</object>

I've set "always allow" for c:\creatives at http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html but it makes no difference, the file will not play.

Is there a security setting that will allow this?

0
Comment
Question by:Zybeo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 20

Expert Comment

by:ChristoferDutz
ID: 34905179
This is a Security Sandbox issue. The Flash Player will prevent this from playing as it would also allow you to read (and post) any other data on your hard-drive. Unfortunately there will be no way to circumvent this. The only solution would be to download the swf and execute it on your computer.
0
 

Author Comment

by:Zybeo
ID: 34908981
The swf is on my computer, it's the web page that's calling for the swf that is not.
0
 
LVL 20

Accepted Solution

by:
ChristoferDutz earned 500 total points
ID: 34910175
I know, but if the player is loaded from the web it has only very limited access to your local filesystem. It's a security measure you can't do anything against. If however you also download the html+swf containing the player and start it on your local computer, then you are able to access it.
0
 

Author Comment

by:Zybeo
ID: 34910610
Thanks ChristoferDutz.  Since there's no setting I'm doing it your way.  I created a frame on the remote web page that links to a local html file that has the local swf on it.  I had to allow firefox to access local links though by changing the user_pref's.  
0
 

Author Closing Comment

by:Zybeo
ID: 34910634
Answer is part of complete solution.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to how to record live broadcast.

631 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question