homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
Forum Library, Charter, Moderators: not2easy

Site Graphics and Multimedia Design Forum

Inserting flash
Is there any better way?

 12:02 pm on May 4, 2003 (gmt 0)

I am trying to insert flash into my page and I am using HTML genarated by flash software. In short, it is something like:
<object classid="
<param name
<param name
<param name
<embed name

The problem is that it is too long and doesn`t validate.
Are there any better ways to insert/embed .swf file?



 12:15 pm on May 4, 2003 (gmt 0)

How about something like:

<div id="divNav">
<object type="application/x-shockwave-flash" data="assets/swfs/buttons.swf" width="174" height="272">
<param name="movie" value="assets/swfs/buttons.swf" />
<div id="divContent">
<object type="application/x-shockwave-flash" data="assets/swfs/20k.swf" width="526" height="238">
<param name="movie" value="assets/swfs/20k.swf" />

It's not exactly short, but it validates.


 12:35 pm on May 4, 2003 (gmt 0)

It is short, it works, and it validates.
Thank you very much.
Do you know if it will work on all browsers?


 12:40 pm on May 4, 2003 (gmt 0)

It's been tested with IE5 and above, NN6, NN7, Opera 5 and above and Safari. For NN4.7x we serve up a different style sheet. I wasn't concerned with NN4.7x and probably never will be. :)

I'f you'd like I can send you a link to the site using that code and you can test it with your browsers of choice.

[edited by: digitalghost at 12:42 pm (utc) on May 4, 2003]


 12:42 pm on May 4, 2003 (gmt 0)

Thank you very much again.


 3:36 pm on May 7, 2003 (gmt 0)

I found the difference.
When I use the short method, it treats the flash more like a picture - while it is downloading it shows broken image (red x). It did not happened while I was using long embedding code. I wonder if it is always like that or I mixed up something. Anyway I will use the short code.


 4:54 pm on May 7, 2003 (gmt 0)

You can insert it with Dreamweaver. Since theyre the same company, dreamweaver should produce the right code.


 5:55 pm on May 7, 2003 (gmt 0)

If you want the page to validate, you need to try the "Flash Satay" method! Here's the link:


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved