Code not validating???

Home » Forums » Flash Firestarter » Code not validating???


Registered User
40 posts

Without the Firestarter movie I created, my page validates perfectly as XHTML strict. With the Flash movie which I really want on my page, my code then has around 50 errors. Any workarounds for this? Or is that just the downside of using flash?


Senior Advisor
3,910 posts

JS, I would just ignore the errors, but i'm not much for validating anyway. "It's A Smart Person That Asks"



Registered User
40 posts

I figured it out. Used a workaround and validates perfectly and functions in all browsers.


Senior Advisor
3,144 posts

JS,

Can you explain the workaround so others could also use it? Bill R.
First Baptist Church
Brighter Day Charities
Roberson Family


Registered User
18 posts

Here is a great article on the issue you are having with <embed> which is not included in any XHTML standards. The article explains how to fix the code that Fire Starter creates, but my concern is: Why does Coffee Cup allow Fire Starter to generatge non-standards compliant code in the first place. Especially since this solution provides a fast, small, standards compliant solution that is cross-browser compatible?http://www.alistapart.com/articles/flashsatay


Senior Advisor
6,675 posts
Online Now

Most of that would be because it hasn't been updated in a while I would think Cecil. I also imagine the next update will probably solve a lot of the issues I've been seeing on the forums :) Jo Ann

http://lbwebsites.com just recently completed and open :)
http://northbaldwinliteracycouncil.org .... Our local Literacy Council

Due to spammers the below sites are not viewable outside the US, sorry guys :(
http://proudayou.com - My sons website for his music business
http://rockinwithmainstreet.com - My brother's band website


Registered User
24 posts

To ensure your code validates, replace the CC code with the following:
(my swf file is called 'new' so obviously you need to replace this with your swf file name and dimensions)

<object width="900" height="210" data="new.swf"
type="application/x-shockwave-flash"
title="Header">
<param name="movie" value="new.swf" />
<param name="height" value="900" />
<param name="width" value="210" />
<param name="menu" value="false" />
<param name="quality" value="autohigh" />
<!-- remove the wmode if transparency is not needed -->
<param name="wmode" value="transparent" />
<em>Header</em>
</object>

That's it, you don't need to do anything else and it validates perfectly. The problem is the <embed> element which is no longer valid. This has been tested in IE, FF, Chrome and Safari and renders perfectly.

Hope that helps. Internet Marketing Consultancy
http://www.avara.co.uk


VP of Product Development
25,042 posts
Online Now

Keith Pearson wrote:
To ensure your code validates, replace the CC code with the following:
(my swf file is called 'new' so obviously you need to replace this with your swf file name and dimensions)

<object width="900" height="210" data="new.swf"
type="application/x-shockwave-flash"
title="Header">
<param name="movie" value="new.swf" />
<param name="height" value="900" />
<param name="width" value="210" />
<param name="menu" value="false" />
<param name="quality" value="autohigh" />
<!-- remove the wmode if transparency is not needed -->
<param name="wmode" value="transparent" />
<em>Header</em>
</object>

That's it, you don't need to do anything else and it validates perfectly. The problem is the <embed> element which is no longer valid. This has been tested in IE, FF, Chrome and Safari and renders perfectly.

Hope that helps.


The embed tag is still needed for older browsers. Not all of them support the object tag. ~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~
Scott A. Swedorski - VP of Product Development
CoffeeCup Software Inc.
Phone: 678.495.3480

"Want to update your website from anywhere? Check out our new free service, S-Drive Streams. Visit http://www.coffeecup.com/sdrive for more information."


Temporary User
5,410 posts

Legacy sucks! I used to work for an IT dept manager who insisted that I coded for users who were still using browsers from years past. What a drag. Come on people, it's not like you have to pay for these. :rolleyes: CoffeeCup... Yeah, they are the best!


Senior Advisor
6,675 posts
Online Now

Understood Tom, but... there are lots of reasons why so many people are still using very old browsers. I too hate the idea of having to think about the old ones, and I haven't addressed the issue on my own site yet either but I'm sure I will.

Many people don't have a choice, colleges are not always up to date (guess they don't want the hassle of upgrading so many computers or something) so students are at the mercy of the people in charge of that there and have no choice but to use the versions of software the computer departments have installed.

1000's of work environments don't update browsers either, why? who knows, lack of time and they maybe don't think it's important compared to other things they need to do so it gets stuck on the extreme back burners as an aesthetic thing rather than a functional thing.

Now take in millions of elderly that may not even know how to upgrade or have family/friend members that will help them with it so they don't even know they are out of date.

Much as I hate that fact also, and I surely do think the same way on it. "People get your butts in gear and update your browsers!" ... but unfortunately no matter how much I say it, it isn't going to change the fact that it's still a problem lol. Jo Ann

http://lbwebsites.com just recently completed and open :)
http://northbaldwinliteracycouncil.org .... Our local Literacy Council

Due to spammers the below sites are not viewable outside the US, sorry guys :(
http://proudayou.com - My sons website for his music business
http://rockinwithmainstreet.com - My brother's band website

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.