Helpful Information
 
 
Category: Flash & ActionScript
First REAL post... Flash + XHTML

This article goes over how to embed flash elements, while maintaining XHTML validation... I can't seem to get it to work for me under Moz... any suggestions?

http://www.alistapart.com/stories/flashsatay/

I just saw a converter to xhtml somewhere on the web. If you have php, you could try this (http://www.evilwalrus.com/viewcode/482.php) one. If not, try searching. :p

PS - 9cy.com is a free host with php :thumbsup:

I don't remember having any problems with that example before.... which build of Mozilla do you have, and do you have the Flash plugin installed for it?

works for me too, in moz1.2a

I've got Moz 1.3b (nightly - Jan 20, 2003), and Flash plug-in 6.0.65 (the latest). Specifically, I've had problems with SWF images. Moz doesn't want to display them. Same problem in Opera 7.0b2 (with Flash 6.0.65).

Here's what I have for flash, it validates, but the flash won't load:

<object type="application/x-shockwave-flash" data="c.swf?path=horses.swf"
width="600" height="470">
<param name="movie" value="c.swf?path=horses.swf" />
</object>

Why not?

bump

It should work like that - does for me; are you sure there's not some other problem to do with using the Flash plugin in your mozilla - might be a problem there - does the demo in that article work okay in your same browser?


But NB - the technique described in that article doesn't work in Win IE5.0. To make it work, compliant, *and* get IE5.0 support, I eventually had to do this:


<!--[if IE 5]>
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
id="flash"
width="750"
height="245"
>
<![endif]-->

<![if ! IE 5]>
<object
type="application/x-shockwave-flash"
data="home.swf"
id="flash"
width="750"
height="245"
>
<![endif]>

<param name="movie" value="home.swf" />

Which is ridiculous I know, and it gets worse - inverse conditional comments (by which I mean, NOT conditions) don't work properly in IE5.0 either - they do actually work, but the closing <![endif]> shows up as literal text on the page, so you have to surround the object in a DIV or something and set its text colour the same as your background!










privacy (GDPR)