homepage Welcome to WebmasterWorld Guest from 54.205.122.62
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
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?
lukasz

10+ Year Member



 
Msg#: 663 posted 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="
codebase="
swflash.cab#version=4,0,0,0"
<param name
<param name
<param name
<embed name
type="application/x-shockwave-flash"
pluginspage="
</embed>
</object>

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

 

digitalghost

WebmasterWorld Senior Member digitalghost us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 663 posted 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" />
</object>
</div>
<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" />
</object>
</div>

It's not exactly short, but it validates.

lukasz

10+ Year Member



 
Msg#: 663 posted 12:35 pm on May 4, 2003 (gmt 0)

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

digitalghost

WebmasterWorld Senior Member digitalghost us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 663 posted 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]

lukasz

10+ Year Member



 
Msg#: 663 posted 12:42 pm on May 4, 2003 (gmt 0)

Thank you very much again.

lukasz

10+ Year Member



 
Msg#: 663 posted 3:36 pm on May 7, 2003 (gmt 0)

Hi
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.

kingkelly

10+ Year Member



 
Msg#: 663 posted 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.

universalis

10+ Year Member



 
Msg#: 663 posted 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:

[alistapart.com...]

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