Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Hardcode Flash

Go to End

3 Posts   1394 Views


Community Member, 199 Posts

29 September 2008 at 10:51pm

Edited: 29/09/2008 10:54pm

I've hardcoded some flash code into my file. It works perfectly in IE but not in Firefox. Here is my code:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=",0,29,0" width="252" height="198">
										  <param name="movie" value="mysite/images/flash/myfile.swf">
										  <param name="quality" value="high">
										  <embed src="mysite/images/flash/myfile.swf" quality="high" pluginspage="" type="application/x-shockwave-flash" width="252" height="198"></embed>

The error that is appearing in Firefox is:

XML Parsing Error: mismatched tag. Expected: </param>.
Location: http://localhost:3000/santapark/?flush=1
Line Number 53, Column 15:

This code works fine just as a regular html page in Firefox so it must be something to do with SS?

Any ideas how to fix?


Community Member, 501 Posts

29 September 2008 at 11:36pm

Edited: 29/09/2008 11:44pm

It says this because it's invalid xml, while in IE the page is not served with an xml-prolog (so no real xml, just xhtml).

Try self-closing the param tags. ( <param ... /> ).

Or change the doctype in yr template to something without the xml-prolog, disable the content-negotiator in config.php if necessary



Community Member, 199 Posts

29 September 2008 at 11:42pm

Thanks Dio5. I removed the xml version and it works fine now. Thank you.