# Html and Flash

**URL:** <https://forum.kirupa.com/t/html-and-flash/184832>\
**Category:** random\
**Created:** [April 8, 2006, 7:40am UTC](https://forum.kirupa.com/t/html-and-flash/184832 "2006-04-08T07:40:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zeka](https://avatars.discourse-cdn.com/v4/letter/z/c6cbf5/32.png) [@zeka](https://forum.kirupa.com/u/zeka)\
**Post date:** [April 8, 2006, 7:40am UTC](https://forum.kirupa.com/t/html-and-flash/184832/1 "2006-04-08T07:40:18Z")

</div>

Don’t know if this belongs here but…

ANYWAY, I have been pondering over this for about an hour now, its probably really simple. You know how every flash movie has the size that it was published at? Well I want to embed a flash movie into a html page, and in the code for the html page (the part about the flash object) I want to put something like:

```auto
width=100*%*
height=100*%*

```

with a percent symbol instead of an actual size. Help?

---

<div class="post-metadata">

**Author:** ![hybrid101](https://avatars.discourse-cdn.com/v4/letter/h/7993a0/32.png) [@hybrid101](https://forum.kirupa.com/u/hybrid101)\
**Post date:** [April 8, 2006, 7:55am UTC](https://forum.kirupa.com/t/html-and-flash/184832/2 "2006-04-08T07:55:09Z")

</div>

edit: checked it out, it does work:)sorry.  
why didn’t you test it out in the hour that you pondered it/:huh:

---

<div class="post-metadata">

**Author:** ![ya3](https://avatars.discourse-cdn.com/v4/letter/y/e95f7d/32.png) [@ya3](https://forum.kirupa.com/u/ya3)\
**Post date:** [April 8, 2006, 8:20am UTC](https://forum.kirupa.com/t/html-and-flash/184832/3 "2006-04-08T08:20:17Z")

</div>

Rofl. Why ponder over it for hours?? FYI, it _does_ work. Well, the 100% width attribute - getting 100% hieght is a problem with most browsers.

---

<div class="post-metadata">

**Author:** ![Greggeh](https://avatars.discourse-cdn.com/v4/letter/g/8baadc/32.png) [@Greggeh](https://forum.kirupa.com/u/Greggeh)\
**Post date:** [April 8, 2006, 9:53am UTC](https://forum.kirupa.com/t/html-and-flash/184832/4 "2006-04-08T09:53:38Z")

</div>

Excactly, Got to the publish setting from your flash movie. then choose “percent” in stead of “pixels”

which should give you something like this:

> 

\<object classid=“clsid:d27cdb6e-ae6d-11cf-96b8-444553540000” codebase=“[http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0](http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0)” **width=“100%” height=“100%”** id=“myMovie” align=“middle”\>  
\<param name=“allowScriptAccess” value=“sameDomain” /\>  
\<param name=“movie” value=“myMovie.swf” /\>\<param name=“menu” value=“false” /\>\<param name=“quality” value=“high” /\>\<param name=“scale” value=“noscale” /\>\<param name=“bgcolor” value=“#ffffff” /\>\<embed src=“myMovie.swf” menu=“false” quality=“high” scale=“noscale” bgcolor=“#ffffff” **width=“100%” height=“100%”** name=“myMovie” align=“middle” allowScriptAccess=“sameDomain” type=“application/x-shockwave-flash” pluginspage=“[http://www.macromedia.com/go/getflashplayer](http://www.macromedia.com/go/getflashplayer)” /\>

---

<div class="post-metadata">

**Author:** ![jc\_401](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@jc\_401](https://forum.kirupa.com/u/jc_401)\
**Post date:** [April 14, 2006, 1:18pm UTC](https://forum.kirupa.com/t/html-and-flash/184832/5 "2006-04-14T13:18:03Z")

</div>

i have a question in line with the 100% thing… will it make my flash object be maximized on the entire web page? if not, how do i make my flash object be maximized on the entire page? pls help me… :sigh:

thanks! 😃

---

<div class="post-metadata">

**Author:** ![Seb\_Hughes](https://avatars.discourse-cdn.com/v4/letter/s/839c29/32.png) [@Seb\_Hughes](https://forum.kirupa.com/u/Seb_Hughes)\
**Post date:** [April 14, 2006, 2:13pm UTC](https://forum.kirupa.com/t/html-and-flash/184832/6 "2006-04-14T14:13:19Z")

</div>

If there both 100% it will cover the whole browser screen :D, Try it.
