| degrace_chris 2004-06-22, 4:14 am |
| OK, so everyone has seen the code that Flash spits out to embed the .swf into
an HTML doc. Everything works fine until you start worrying about W3 HTML
validation.
Basically the only way I know to embed Flash in an HTML document that works in
both IE and Mozilla Browsers(Netscape, Mozilla, Safari...) uses the following
code.
<object type="application/x-shockwave-flash"
data="http://www.mfcstudios.com/flash/navbar-transition4.swf" width="750"
height="80">
<param name="movie"
value="http://www.mfcstudios.com/flash/navbar-transition4.swf">
</object>
The problem with that code is that it doesn't allow the SWF to start playing
until the entire movie is loaded, which you can imagine reaks havoc on a slow
connection, and to a lessor extent a fast connection.
I'm looking for someone to let me know how I can have all three aspects. Code
that validates in the W3 HTML validator at http://www.w3.org, Allows the movie
to play in all browsers, and lastly it must allow the movie to play even if the
entire movie isn't loaded.
Please, I've looked everywhere and stuck out, so anything you can offer would
be great
~Chris
|