Welcome to WebmasterWorld Guest from 50.16.24.12

Forum Moderators: open

Validating flash

   
11:27 am on Jun 17, 2004 (gmt 0)

10+ Year Member



I've read the article that Tedster pointed someone to a year ago here [webmasterworld.com] about getting flash to validate. Now this is the alternative for larger movies-

<object type="application/x-shockwave-flash
data="c.swf?path=movie.swf"
width="400" height="300">
<param name="movie"
value="c.swf?path=movie.swf" />
<img src="noflash.gif"
width="200" height="100" alt="" />
</object>

I'm only loading flash buttons and so don't need the container movie. So does that mean that I can change my code to -

<object type="application/x-shockwave-flash
width="400" height="300">
<param name="movie"
value="movie.swf" />
<img src="noflash.gif"
width="200" height="100" alt="" />
</object>

1:34 pm on Jun 17, 2004 (gmt 0)

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member



It sure does! The only reason the container movie is required is to make IE start displaying the movie before it has loaded. But, if you're only using small files, then the display will be instantaneous anyway.

You still need the

data
in the object tag though:

<object type="application/x-shockwave-flash
width="400" height="300" data="movie.swf">
<param name="movie"
value="movie.swf" />
<img src="noflash.gif"
width="200" height="100" alt="" />
</object>

2:43 pm on Jun 17, 2004 (gmt 0)

10+ Year Member



Cheers for that Dr Doc, sometimes I just don't trust myself to get things right.
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month