Solved

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

Posted on 2011-02-15
5
309 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
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 shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

739 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