Home/Support/

Forums

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (5 pts)
11 Replies Last post: Jul 19, 2009 11:17 AM by Praxis999  
Winnie12345 User 5 posts since
Jul 10, 2009
Currently Being Moderated

Jul 10, 2009 8:43 AM

DW CS3 ImageViewer - problem with .swf file

I'm trying to make a slide show in Dreamweaver for the first time. I've searched and found a lot of common problems people have - forgetting to upload the .js file, not including the .swf file, etc.

 

I think I've done everything right (obviously I'm wrong though), it previews in DW, it works when I preview it in a browser, but when it's uploaded, nothing.

 

But I think I've found where the problem is. The .swf file that was created doesn't seem to be the right file. When I open it, it shows a blank flash slideshow with three empty slides, just as the sample is when you first open the Imageviewer.

 

But then what is DW pulling the slideshow from that works in the preview?? How do I re-export the .swf file from DW?

 

Do my questions even make sense? Sorry, kinda new at all this.

 

Thanks in advance.

 

Oh, here is the blank page, but when I view source, the code is there.

 

http://www.americanindianreport.com/imageviewer.html

 

The .js file is in the Scripts folder, the .swf is in the same folder. Actually, here you can see why it doesn't work. This is the .swf file, three blank pages:

 

http://www.americanindianreport.com/imageviewerflash.swf

pziecina Contributor 2,451 posts since
May 11, 2009
Currently Being Moderated
1. Jul 10, 2009 9:08 AM in response to: Winnie12345
Re: DW CS3 ImageViewer - problem with .swf file

The images are there as when I link to them directly by using - http://www.americanindianreport.com/images/skateboard/IMG_0542.JPG

they are viewable (so images are uploaded), this only leaves a problem in your swf file.

 

Is the file extension (marked in red) correct -

'ImageViewer.swc','movie','imageviewerflash' ); //end AC code

 

PZ

pziecina Contributor 2,451 posts since
May 11, 2009
Currently Being Moderated
2. Jul 10, 2009 9:13 AM in response to: pziecina
Re: DW CS3 ImageViewer - problem with .swf file

Just as a note can you include the name of the program you used to create the slide show (there are literally hundreds available now), and if possible a link to it and the documentation, otherwise trying to work out what is missing is very difficult.

 

PZ

pziecina Contributor 2,451 posts since
May 11, 2009
Currently Being Moderated
5. Jul 10, 2009 9:31 AM in response to: Winnie12345
Re: DW CS3 ImageViewer - problem with .swf file

Did you create the slideshow using the 'created slideshow' command as this also creates an xml file which you will have to edit in order to change any images or settings.

 

Which version of flash are you using?

 

PZ

pziecina Contributor 2,451 posts since
May 11, 2009
Currently Being Moderated
6. Jul 10, 2009 9:50 AM in response to: pziecina
Re: DW CS3 ImageViewer - problem with .swf file

Where did you get the following script as it is not the standard script?

 

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

 

PZ

pziecina Contributor 2,451 posts since
May 11, 2009
Currently Being Moderated
8. Jul 10, 2009 10:55 AM in response to: Winnie12345
Re: DW CS3 ImageViewer - problem with .swf file

If you look at my last post, the js file has been overwritten with html code, and this is what will be causing the problem.

The only solution is to delete this file insert a new flash object (any swf file will do for this), then copy the new js file to your server, as your flash will not work with this file.

 

here is a short example of the js files content (not javascript), -

<html>
<head>
<title>Page not found | www.americanindianreport.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="/http://www.falmouthinstitute.com/favicon.ico" type="image/x-icon" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/book/book.css?r" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/node/node.css?r" />

 

PZ

pziecina Contributor 2,451 posts since
May 11, 2009
Currently Being Moderated
10. Jul 11, 2009 6:08 AM in response to: Winnie12345
Re: DW CS3 ImageViewer - problem with .swf file

If you open the js file, you will see that it does not contain JavaScript but html instead, (this is why I think it has been overwritten somehow).

 

The flash player will not work without the JavaScript that this file should have contained.

 

PZ

Praxis999 User 1 posts since
Jul 19, 2009
Currently Being Moderated
11. Jul 19, 2009 11:17 AM in response to: Winnie12345
Re: DW CS3 ImageViewer - problem with .swf file

I have had exactly the same problem with one of my DW CS3 sites.  The funny thing is that I have created other sites using the same program and they work fine in DW and also once they are uploaded.  I see the .swf file in the problem site.  The other sites did not create this.  Have you found a solution?  Thanks.

More Like This

  • Retrieving data ...