Solved

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

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

810 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