Skip navigation
marteldesign
Currently Being Moderated

Insert Flash SWF

Nov 23, 2012 4:34 PM

Everytime I add a swf file in Dreamweaver the following script is added:

 

<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>

 

When I preview in the browser the swf doesn't play and I get a message saying:

 

Adobe Flash Player has stopped a potentially unsafe operation. The following location on your computer or network:

C:\DATAFILES\NewWeb\Scripts\ExpressInstall.swf is trying to communicate with the internet-enable location:

fpdownload.macromedia.com

 

After searching for quite a while (I am not bitter), I replaced that script with the following one:

 

<script type="text/javascript" src="swfobject.js"></script>

 

and everything works fine. My question is How do I stop the automatic insertion of the bad script? Is there an ini file I can change to prevent this.

 

Thanks,

Jacques

 
Replies
  • Currently Being Moderated
    Nov 24, 2012 7:21 AM   in reply to marteldesign

    Do you have a file named swfobject.js in the same folder as the html file?

     

    Chances are you need to be testing on a server and are otherwise getting a security error when trying to test locally.  I doin't think the swfobject versus swfobject_modified is the problem.  Though I am not certain, I suspect that not utlizing the swfobject_modified file is causing the line that would test the ExpressInstall.swf to not be executed, which sidesteps the error occuring when testing locally.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points