Jump to content

2 flash or not 2 flash


Guest stuartd

Recommended Posts

Guest stuartd

Greetings and Salutations

Ok the problem is I have are two flash swf files ,one button 1 one slideshow. I wanted the button to be global and the slideshow to be just on the home page. So I put one in index global and the other in index contentent.

After a few variations and a bit of time i have managed to get them both to display in firefox by putting the slide show as a shockwave (dreamweaver) and the other as a swf. IE and Chrome just showed loading signs...

So I simplified it and thought whats the most basic code you can use, still no result . The only thing I can think of is it may be something to do with php..

I'm a dreamweaver jockey So talk slow and use a chalkboard and be kind.

(site and coding should be here somewhere)

htttp://www.philippaconran.com

(Slidshow)

<object width="800" height="300">

<param name="movie" value="../../../../layout for site/layout/Newhome.swf">

<embed src="../../../../layout for site/layout/Newhome.swf" width="550" height="400">

</embed>

</object>

<button>

<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="160" height="56">

<param name="movie" value="../../../../layout for site/layout/Salebutton1.swf" />

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

<param name="wmode" value="opaque" />

<param name="swfversion" value="6.0.65.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="../../../../layout for site/layout/Salebutton1.swf" width="160" height="56">

<!--<![endif]-->

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

<param name="wmode" value="opaque" />

<param name="swfversion" value="6.0.65.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>

This is what I have at the min.

Link to comment
Share on other sites

Moved to v4 support.

Use absolute file paths, not relative.

As a side note- check out;

http://code.google.com/p/swfobject/

SWFOBJECT

SWFObject is an easy-to-use and standards-friendly method to embed Flash content, which utilizes one small JavaScript file

This is a great project for flash users. You can also easily provide a static image if the user does not have flash installed (some mobile users). Its very easy to implement.

I've used this with a flash slide-show (displaying product images+text), and if flash was not detected, then degrade to static images.

Jason

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...