# Please Help: Embedded Flash in HTML

**URL:** <https://forum.kirupa.com/t/please-help-embedded-flash-in-html/219395>\
**Category:** Uncategorized\
**Created:** [March 16, 2007, 6:50am UTC](https://forum.kirupa.com/t/please-help-embedded-flash-in-html/219395 "2007-03-16T06:50:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tyoelin](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/tyoelin/32/2737_2.png) [@tyoelin](https://forum.kirupa.com/u/tyoelin)\
**Post date:** [March 16, 2007, 6:50am UTC](https://forum.kirupa.com/t/please-help-embedded-flash-in-html/219395/1 "2007-03-16T06:50:16Z")

</div>

I have read several topics about embedding flash in HTML and I feel that I have chosen the best way to my ability. BUT, it is centered appropriately in Internet Explorer and Safari, but not Firefox.

_ **if you dont want to read my progress in trying to get it centered, just go to bottom** _  
Begin story (ill write it as briefly as possible)

First I used Flash’s built in menu to publish to a 100% by 100% window. This successfully embedded my flash file into html, BUT some users experienced that the flash movie would never launch when I used this method.

I solved this by installing a flash version detection object that I found while browsing this site. I can’t remember its name, but you can probably figure it out by viewing my site’s source code. After following the tutorial, and cutting/pasting code… everything seemed to work EXCEPT…

Now with this flash version detection object, I had to place my code for embedding the flash movie inside of the code of this detector… the code that I used for the 100%x100% fit would not launch the movie at all now. So I reverted back to simply adding the flash movie without any formatting (Insert\>Media\>Flash Movie). This version worked perfectly in every way, but it would never center in the window. I’ve tried changing the variables in the code to 100% x 100% and changing the alignment tags to center… but none of it had an effect. The closest I got it to be centered with this detector was if the entire movie stretched to fit the screen.

\*\*\* End story \*\*\*

Would anybody mind checking my source code to see if I have anything that is redundant that may be screwing up the formatting?

[http://www.yoelinphotography.com/main.html](http://www.yoelinphotography.com/main.html)  
  
Thanks so much for reading
