# Flash with html problem!

**URL:** <https://forum.kirupa.com/t/flash-with-html-problem/6837>\
**Category:** Uncategorized\
**Created:** [October 17, 2002, 2:43pm UTC](https://forum.kirupa.com/t/flash-with-html-problem/6837 "2002-10-17T14:43:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabriel\_vieira](https://avatars.discourse-cdn.com/v4/letter/g/91b2a8/32.png) [@gabriel\_vieira](https://forum.kirupa.com/u/gabriel_vieira)\
**Post date:** [October 17, 2002, 2:43pm UTC](https://forum.kirupa.com/t/flash-with-html-problem/6837/1 "2002-10-17T14:43:32Z")

</div>

HI Everyone!!!  
When i publish my movie.fla, when I click in the html file that as the movie.fla, the movie.fla is never center in the html file, i tryed to change the publish settings in flash, change the code in the html file, but the flash movie in the html file is never centered!!!☹  
can anyone tell how to center the flash movie in the html file that pull back the swf and be centered??  
thanks!!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 17, 2002, 2:59pm UTC](https://forum.kirupa.com/t/flash-with-html-problem/6837/2 "2002-10-17T14:59:12Z")

</div>

All you have to do is open your HTML file and create a new table. Make it 1 column by 1 row and width and height make 100%. Put the Flash movie inside this table, and set the alignment to centre.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 17, 2002, 3:37pm UTC](https://forum.kirupa.com/t/flash-with-html-problem/6837/3 "2002-10-17T15:37:52Z")

</div>

thanks mate!!!  
but could you tell me the exact html code please!!  
thanks!!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 17, 2002, 4:08pm UTC](https://forum.kirupa.com/t/flash-with-html-problem/6837/4 "2002-10-17T16:08:26Z")

</div>

> \*Originally posted by gabriel\_vieira \*  
> \*\*thanks mate!!!  
> but could you tell me the exact html code please!!  
> thanks!!! \*\*

this is really basic HTML… I would highly recommend learning at least the basics of HTML if you plan to publish anything on the web…

there are lots of tutorials to learn with.

Rev:elderly:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 17, 2002, 5:16pm UTC](https://forum.kirupa.com/t/flash-with-html-problem/6837/5 "2002-10-17T17:16:15Z")

</div>

ok thanks mate!!!  
i will do that!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 17, 2002, 5:19pm UTC](https://forum.kirupa.com/t/flash-with-html-problem/6837/6 "2002-10-17T17:19:55Z")

</div>

look at html code: height=100%! it means movie.swf will stay  
100% of Your screen height,width etc… make experiments

\<OBJECT align=left classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000  
codeBase=http://active.macromedia.com/flash6/cabs/swflash.cab#version=6,0,0,0  
height=100% width=100%\>\<PARAM NAME=“SRC” VALUE=“exe.swf”\>\<PARAM NAME=“menu” VALUE=“0”\>  
\<embed src=“exe.swf” pluginspage=“[http://www.macromedia.com/shockwave/download/](http://www.macromedia.com/shockwave/download/)” type=“index.cgi?P1\_Prod\_Version=ShockwaveFlash” width=“100%” height=“100%”\>

If You use 100% in flash before exporting install public settings  
set size to PERSENT!

Good luck!
