...

View Full Version : SWF Not Working inside of Web Page



shelzmike
03-07-2009, 06:37 PM
Okay, I am confused and quite aggravated! I have created a header that has static and dynamic content in Flash 8. It is pretty simple - it is just a regular header with a section on the right that has a slide show fader of different pictures. When I publish and test the SWF by itself - works perfectly fine.

If I publish and preview the HTML created by flash as an example, it works perfectly fine.

However, when I embed it into my web site, it only displays the static portions of the SWF, the slideshow does not work - it is just white.

If I upload the page with the header to my site - it still only shows only the static content of the SWF, but if I navigate directly to the location (on my server), the SWF plays fine.

I am fairly certain that it is not a path issue because if it was, it would not even show the static content, would it?

I have even tried to copy the html directly output by FLash and embed it and it has not worked.

Now, as a side note, this has always been an issue with me. Embarrasingly enough, I have never been able to get a swf to work in a web page, so that means that I am probably missing something that is basic.

Although, I have DW CS4 and import it using the insert feature, so I am not why it does not work.

I cannot even get it to work directly in Dreamweaver, when I click the play button.

Here is the code that I am using:


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="960" height="220" id="movie" title="scoutHeaderMovie">
<param name="movie" value="../public_html/pack111/flash/image_loader.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="8.0.35.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you donít want users to see the prompt. -->
<param name="expressinstall" value="../Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="../public_html/pack111/flash/image_loader.swf" width="960" height="220">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="8.0.35.0" />
<param name="expressinstall" value="../Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>

Additionally, I have the following in the HEAD section:


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

Can anyone tell me what I am missing?

Thanks!

Mike

gnomeontherun
03-08-2009, 06:56 PM
My first guess is that the paths are incorrect on the live site. Do you have a link?

bruin
04-03-2009, 03:44 AM
I have the same problem. Have you found out what was wrong?

aDistortedMind
09-21-2010, 07:07 PM
Hey guy did you finally figure out this problem?, I'm having the same issue, I'm Screwed!

aDistortedMind
09-21-2010, 07:07 PM
guys*

chr
02-03-2011, 12:44 AM
Anybody found a solution to this? I'm googling and see many similar threads but non have lead to a solution. Anyway I have the same problem, I make swf file that works fine on my computer and when I upload it in my webpage, I don't see the flash at all.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum