?
Solved

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
7
Medium Priority
?
868 Views
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) www.joelmarksvo.com
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,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="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="93%" height="216"></embed>
            </object>
 
--site 2 > here is a video: http://www.laboratoriosheiga.com/newweb/marcadores_cardiaco.html
 
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,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="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />                                                                      
</object>

Open in new window

0
Comment
Question by:malury
  • 4
  • 2
7 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 23665070
Hi malury,

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

For the www.joelmarksvo.com 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:

http://www.joelmarksvo.com/Scripts/AC_RunActiveContent.js

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:

http://www.laboratoriosheiga.com/newweb/Scripts/AC_RunActiveContent.js

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.
0
 

Author Comment

by:malury
ID: 23672943
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="../../../../../  
to
<script src="Script

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

Expert Comment

by:Jason C. Levine
ID: 23673333
http://www.joelmarksvo.com/Scripts/AC_RunActiveContent.js
http://www.laboratoriosheiga.com/Scripts/AC_RunActiveContent.js
http://www.laboratoriosheiga.com/newweb/Scripts/AC_RunActiveContent.js

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.
0
Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

 

Author Comment

by:malury
ID: 23673416
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
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 23673439
You're welcome!
0
 

Expert Comment

by:cartoondaddy
ID: 23850359
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?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 23850739
cartoondaddy,

You should probably post that as a new question.  
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
Geo-targeting is the practice of distributing content based on a person’s location, as best as you can determine it. Let’s look at some ways you could successfully use this tactic. The following tips and case studies could lead to meaningful results.
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…
Suggested Courses
Course of the Month14 days, 21 hours left to enroll

840 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