Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
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 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.

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now