# Stuff the HTML

**URL:** <https://forum.kirupa.com/t/stuff-the-html/58051>\
**Category:** Uncategorized\
**Created:** [July 19, 2004, 12:57pm UTC](https://forum.kirupa.com/t/stuff-the-html/58051 "2004-07-19T12:57:24Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![fiery\_rockstar](https://avatars.discourse-cdn.com/v4/letter/f/e99b99/32.png) [@fiery\_rockstar](https://forum.kirupa.com/u/fiery_rockstar)\
**Post date:** [July 19, 2004, 12:57pm UTC](https://forum.kirupa.com/t/stuff-the-html/58051/1 "2004-07-19T12:57:24Z")

</div>

What would the consequences be of just loading up a .swf file instead of loading it in an HTML page?

Cheers, J

---

<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:** [July 19, 2004, 1:37pm UTC](https://forum.kirupa.com/t/stuff-the-html/58051/2 "2004-07-19T13:37:50Z")

</div>

you mean on your browser?? if so it wont be visible unless the person has the flash plugin installed, so its best to have it n a html page that way you use a script to verify if the user has the plugin installed.

---

<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:** [July 19, 2004, 1:39pm UTC](https://forum.kirupa.com/t/stuff-the-html/58051/3 "2004-07-19T13:39:24Z")

</div>

I’m going to have a flash detection script on the index page, then that leads you to a flash index or to a the flash install page, that will all be done in HTML, but when you get to the flash index there will be a pop up window and I’m thinking of just loading the swf… will there be any consequences to 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:** [July 19, 2004, 1:40pm UTC](https://forum.kirupa.com/t/stuff-the-html/58051/4 "2004-07-19T13:40:29Z")

</div>

yep, that and chances are it’ll be stretched all out of shape (scale)…if the user has the plugin, but there’s no html launch page…

---

<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:** [July 19, 2004, 1:49pm UTC](https://forum.kirupa.com/t/stuff-the-html/58051/5 "2004-07-19T13:49:09Z")

</div>

I have that sorted, The movie is 800 x 440 and so is the pop up window 🙂 time for a test drive…

---

<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:** [July 19, 2004, 2:35pm UTC](https://forum.kirupa.com/t/stuff-the-html/58051/6 "2004-07-19T14:35:35Z")

</div>

the only thing is that it wont be centered if its not in a table since im real picky about the stuff i do i always like to make it look nice and neat and centered because not all browsers will open it to the dimensions you say some will open it smaller others will just open it like a normal page and it just looks nasty having a swf floating on you top left and the rest of the background white or a solid color but thas just me :-/

---

<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:** [July 19, 2004, 2:44pm UTC](https://forum.kirupa.com/t/stuff-the-html/58051/7 "2004-07-19T14:44:47Z")

</div>

hmm yeah… the problem is when i load it into a HTML page even when i tell the movie to align top right theres big black bits… anyone know how to get around 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:** [July 19, 2004, 2:59pm UTC](https://forum.kirupa.com/t/stuff-the-html/58051/8 "2004-07-19T14:59:14Z")

</div>

it all depends on what browser your using jsut make sure you insert the swf into a table and ahve the table aligned to the center and have its cel pad and cel spacing set to 0 and go to modify\>page properties and set its top, right, bottom and left margins all to 0 that will most likely solve your problems

---

<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:** [July 19, 2004, 4:13pm UTC](https://forum.kirupa.com/t/stuff-the-html/58051/9 "2004-07-19T16:13:35Z")

</div>

```auto
<body topmargin="0" leftmargin="0">

```

another consequence is that in the title bar of the window, it will say [www.yourdomain.com/this.swf](http://www.yourdomain.com/this.swf) rather than the title you want it to have.

---

<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:** [July 19, 2004, 6:20pm UTC](https://forum.kirupa.com/t/stuff-the-html/58051/10 "2004-07-19T18:20:33Z")

</div>

> \<body topmargin=“0” leftmargin=“0”\>

Thanx bwh2 I never thought of that… and it worked a treat 🙂

---

<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:** [July 19, 2004, 6:23pm UTC](https://forum.kirupa.com/t/stuff-the-html/58051/11 "2004-07-19T18:23:58Z")

</div>

no problem.

---

<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:** [July 19, 2004, 6:28pm UTC](https://forum.kirupa.com/t/stuff-the-html/58051/12 "2004-07-19T18:28:03Z")

</div>

thats waht i was telling you waht to do in dreamweaver lol

---

<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:** [July 19, 2004, 6:29pm UTC](https://forum.kirupa.com/t/stuff-the-html/58051/13 "2004-07-19T18:29:49Z")

</div>

ah right, I had put it in a table and told it to stretch to the size of the window but that didn’t work so I didn’t know you mean to do that… lol… my bad… cheers to everyone for all the help though 🙂

J
