shelzmike
03-07-2009, 05: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
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