The Internet Classroom
Flash Validation
2006/07/18 10:54:25 PDT by trentyou
[trentyou's avatar]

I have a problem when I try to validate my page with the Flash. I took out the flash portion out of the source code and put it in my journal log and it says I have 11 errors : (

Here's the source for the flash:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"

codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,

0,0" width="550" height="400" id="Flash" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="Flash.swf" /><param name="quality" value="high" /><param

name="bgcolor" value="#66ccff" /><embed src="Flash.swf" quality="high" bgcolor="#66ccff"

width="550" height="400" name="Flash" align="middle" allowScriptAccess="sameDomain"

type="application/x-shockwave-flash"

pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

2006/07/18 12:06:06 PDT by Forward Biased
[Forward Biased's avatar]

Use this (and change the width/height/filename):

<object
type="application/x-shockwave-flash" data="movie.swf" 
width="400" height="300">
<param name="movie" value="movie.swf" />
</object>

Full story at A List Apart.

2006/07/18 12:16:32 PDT by kass
[kass's avatar]

Thank you, Quad. -_- Didn't realize until today that the Flash provided code doesn't actually validate at all.

2006/07/18 12:27:00 PDT by Forward Biased
[Forward Biased's avatar]

I didn't think of it either because I remember reading a post years ago that said that Macromedia fixed it. Guess I'm suffering from memory corruption...

2006/07/18 14:28:03 PDT by Dennis
[Dennis's avatar]

so the "movie.swf" would be the equivalent of your file name correct?

2006/07/18 14:30:42 PDT by kass
[kass's avatar]

Yep.

2006/07/18 14:55:18 PDT by dhruv13
[dhruv13's avatar]

its not working on mine for some reason

Don't ask me anything, I'm a product of the American education system
-Homer Simpson

1 post deleted.
2006/07/18 15:26:38 PDT by Forward Biased
[Forward Biased's avatar]

Server crashed and some posts were lost but the summary is: remember to upload your .swf.

2006/07/18 15:32:02 PDT by dhruv13
[dhruv13's avatar]

ya

Don't ask me anything, I'm a product of the American education system
-Homer Simpson

2006/07/18 17:17:28 PDT by trentyou
[trentyou's avatar]

Thank you :)

2006/07/25 10:56:25 PDT by NormanZhu
[NormanZhu's avatar]

Ummm this is a bit late, but mine doesn't work <_<, it doesn't show up on the webpage at all...

<object
type="application/x-shockwave-flash"
width="400" height="300">
<param name="movie" value="10secondflash.swf" />
</object>

that's what i put <_<

Added at 2006/07/25 11:09:54 PDT

Before I upload it theres nothing, after I upload it, theres a big blank spot <_<

My signature is better than your signature.

2006/07/25 11:18:21 PDT by senchent
[senchent's avatar]

Your code won't work in FireFox without the 'data' attribute in object.

<object
type="application/x-shockwave-flash" data="10secondflash.swf"
width="400" height="300">
<param name="movie" value="10secondflash.swf" />
</object>

Added at 2006/07/25 11:18:46 PDT

^^^ Try that?

All TIC materials copyright © 2006 Cynthia Nie and Trevor Ridinger
Powered by Io Community Manager, Evlan, and FreeBSD