PDA

View Full Version : How do I show a SWF without using 'embed'?


aeohn
11-01-2005, 11:07 PM
All I'm trying to do is display a SWF file on a page without using the word "embed" or "object". In other words, I would generally use this code to display a file:

<body bgcolor="..cccccc">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="swfname" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="..cccccc" />
<embed src="http://www.thedomain.com/theswf.swf" quality="high" wmode="transparent" bgcolor="..cccccc" width="200" height="200" name="swfname" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</body>

I need to display the file without using the 'embed' or 'object' tags. Does anyone know a way around these tags?

Flash Gordon
11-01-2005, 11:37 PM
Search for Flash Gordon and Flash doesn't produce validate (or valid) html. Some gave a nice link to embed flash with valid html. I believe it is in the html section here.

CyanBlue
11-02-2005, 04:19 AM
Are you saying that you can display the SWF file without using the embed tag, Flash Gordon???

Cota
11-02-2005, 04:25 AM
cant it be done with DHTML or something along those lines?

Flash Gordon
11-02-2005, 04:44 AM
here is the link i was refering to:
http://actionscript.org/forums/showthread.php3?t=74901&highlight=valid+html

But i don't think the link in that thread is still the same.
EDIT: same article I think, didn't look to it.

CyanBlue
11-02-2005, 09:21 PM
Uh... If you are referring to the Flash Satay, it still uses the OBJECT/EMBED tag, no???

tg
11-02-2005, 09:30 PM
no, cause embed is not valid..... but you still need to use the object tag. the above listed paramtags are for nothing without the object tag.

Flash Gordon
11-02-2005, 10:07 PM
Uh... If you are referring to the Flash Satay, it still uses the OBJECT/EMBED tag, no???
Well, yeah that is what I was referring to. BUT, it uses the object tag and NOT the embed tag as tg said. This way it produces valid html.

aeohn
11-05-2005, 01:06 AM
Well, yeah that is what I was referring to. BUT, it uses the object tag and NOT the embed tag as tg said. This way it produces valid html.

Yes, I found the Satay method but I can't use embed OR object tags. I don't think it can be done. Oh well. Just curious!

Thanks guys.