PHP Developers Network
http://forums.devnetwork.net/

Center an image in Flash?
http://forums.devnetwork.net/viewtopic.php?f=32&t=72942
Page 1 of 1

Author:  JAB Creations [ Sat Aug 25, 2007 11:54 pm ]
Post subject:  Center an image in Flash?


Author:  JAB Creations [ Sat Aug 25, 2007 11:59 pm ]
Post subject: 


Author:  JAB Creations [ Sun Aug 26, 2007 12:20 am ]
Post subject: 

Removing embed element disables the image...why?

Author:  JAB Creations [ Sun Aug 26, 2007 12:32 am ]
Post subject: 

Solution: The code on this site works without the embed element and displays the image...
http://www.dgx.cz/trine/item/how-to-cor ... into-xhtml

I am unaware of what the difference is between the XHTML I was using and this, but it works. If anyone has the same problem with Flash not displaying the image (or you initially think it's not being centered like I did) use the code below...

Quoted XHTML...
Syntax: [ Download ] [ Hide ]
<!--[if !IE]> -->

<object type="application/x-shockwave-flash"

 data="movie.swf" width="300" height="135">

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



<!--[if IE]>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"

 width="300" height="135">

  <param name="movie" value="movie.swf" />

<!--><!---->

  <param name="loop" value="true" />

  <param name="menu" value="false" />



  <p>This is <strong>alternative</strong> content.</p>

</object>

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

Author:  gregwhitworth [ Sun Oct 14, 2007 1:06 am ]
Post subject: 


Author:  JAB Creations [ Sun Oct 14, 2007 3:23 am ]
Post subject: 

Thanks for the reply Greg. I have since determined that Flash has somehow become corrupted to the point of having to reinstall XP sometime in the somewhat near future. While the odd code I posted worked fine on a second computer I'll probably revert back to my original which I knew worked just fine. Strange the uninstaller for Flash didn't truly uninstall, new profiles for Gecko browsers, etc. I'm just going to reinstall XP soon. Thanks again for your reply and welcome to the forums. :)

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/