Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2011-02-15
5
Medium Priority
?
313 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 1500 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

Industry Leaders: 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 have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
Suggested Courses

715 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