I can't see my .swf file on my brower but I can see it on my local Dreamweaver file

Posted on 2009-02-17
Last Modified: 2013-11-12
Hi. I'm working with Dreamweaver CS3 . I  had a .swf file inside a html published some time ago. It was working fine. Recently I modified some text description around in the file-not related at all with the .swf- on the html, and when I re-load it, I cannot see it the .swf file anymore. It is very weird since I just changed and html  text, I didn't even touch the .swf file at all. This is the 3rd time this happens to me in a row, in 3 different files. I can see them perfectly in my computer (mac), but when I upload it to the browser (safari), I cannot see it at all.

I 'm copying and paying the code of two sites as an example :

Thanks :D
--site 1)

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=",0,19,0" width="93%" height="216" title="Joel Marks audio ">

              <param name="movie" value="Player018.swf" />

              <param name="quality" value="high" />

              <embed src="Player018.swf" quality="high" pluginspage="" type="application/x-shockwave-flash" width="93%" height="216"></embed>


--site 2 > here is a video:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=",0,0,0" width="363" height="307" id="FLVPlayer">

                                                                        <param name="movie" value="FLVPlayer_Progressive.swf" />

                                                                        <param name="salign" value="lt" />

                                                                        <param name="quality" value="high" />

                                                                        <param name="scale" value="noscale" />

                                                                        <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=flash/SmallPathFast&autoPlay=false&autoRewind=true" />

                                                                        <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName=flash/SmallPathFast&autoPlay=false&autoRewind=true" quality="high" scale="noscale" width="363" height="307" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="" />                                                                      


Open in new window

Question by:malury
    LVL 70

    Expert Comment

    by:Jason C. Levine
    Hi malury,

    Your paths to the javascript that controls the Flash look odd.

    For the site, the call looks like this:

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

    When it should look like this:

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

    Also, when I browse to:

    I get a 404 error.

    For the other site, the path to the javascript is:

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

    which means I should find it at:

    Again...404.  In fact, I can't find the Scripts folder at any level of your site.

    You need to do the following:

    1) Check your site definitions and make sure the Local Web Root folder is set correctly.  

    2) Make sure the Scripts folder and the javascript file in it are loaded to the server and present.

    3) Make sure the javascript calls I pasted above have the correct paths to the Scripts folder.

    Author Comment

    Thanks Jason
    I am a  little bit puzzle since I just use the insert > media from Dream Weaver and that was it. I don't know anything at all about java.

    I changed the:
    < script src="../../../../../  
    <script src="Script

    and upload it but it is still not working out.
    LVL 70

    Expert Comment

    by:Jason C. Levine

    Still returning a 404.

    >> I don't know anything at all about java[script].

    All Flash should be called with a javascript wrapper to get around a block in IE.  DW inserts this automatically when you open a page with a Flash movie.

    You have several problems going on.  One is I think your paths in the Local Site definition are set up incorrectly.  Two, either you are not uploading the Scripts folder or you are uploading it to a weird place.

    Author Comment

    Oh I see, ok... you are right, I didn't notice that there was a folder call script there, I upload it and it is working fine now.

    Thanks a lot :D
    LVL 70

    Accepted Solution

    You're welcome!

    Expert Comment

    I can upload any files from Dreamweaver except swf files. I'm on a mac and know very little in the way of java - I'm mostly a flash animator. Any ideas why all other files will upload and not my swfs?
    LVL 70

    Expert Comment

    by:Jason C. Levine

    You should probably post that as a new question.  

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    New Website 15 24
    How to convert ASPX website to HTML? 3 46
    you tube .com 2 177
    Adobe Products Forum? 3 120
    When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
    Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
    The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
    The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

    730 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

    15 Experts available now in Live!

    Get 1:1 Help Now