
11-18-2005, 04:43 PM
|
|
Junior Guru
|
|
Join Date: Oct 2005
Location: The Ville
Posts: 225
|
|
make an embeded flash XHTML 1.0 Transitional
Is this possible. I am still learning this stuff, but here is the code that is bringing up errors:
Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="300" height="500" hspace="2" vspace="2" align="right">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="form.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#CCCCCC" />
<embed target="form.swf" width="300" height="500" hspace="2" vspace="2" align="right" quality="high" bgcolor="#CCCCCC" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>
How can I change the words aroud to make it compliant?
Here is a link to the test results:
http://validator.w3.org/check?uri=ht...doctype=Inline
Thanks again for any and all help
|

11-18-2005, 04:48 PM
|
|
Retired Moderator
|
|
Join Date: Sep 2004
Location: Flint, Michigan
Posts: 5,768
|
|
The short and simple answer is that you don't  IIRC there is a way to do it with Java, but your already limited by how many users have flash, why limit even more to only those who have flash and java being able to view the flash?
|

11-18-2005, 04:55 PM
|
|
Junior Guru
|
|
Join Date: Oct 2005
Location: The Ville
Posts: 225
|
|
I would think that most if not all people are able to view flash or even java. I think there is a small % of people that are not able to view it or choose not to view it for security reasons.
Over 98% of the people who visit the site use IE, and really that means a good possibility that both are enabled on that machine.
Thanks for the help though, at least the front of the site is.
|

11-18-2005, 04:56 PM
|
|
Web Hosting Master
|
|
Join Date: Dec 2003
Location: Vancouver BC, eh?
Posts: 570
|
|
http://www.alistapart.com/articles/flashsatay/
Imo, if you are taking care of the important things, like using alt tags on images that represent content, etc... having a few oddities that don't validate is not a big deal. If you really want to make a good xhtml site, don't use flash.
I still use target="blank" attributes on external links, well-knowing that it doesn't validate. But I'd rather not have my users use the back/history button when viewing external sites... This makes my sites not validate 100%, but I don't see it as a big deal.
|

11-18-2005, 04:59 PM
|
|
Junior Guru
|
|
Join Date: Oct 2005
Location: The Ville
Posts: 225
|
|
Well right now that is the only thing not validating so I am happy. This is some interesting stuff, and very hard to get every single thing coded correctly
|

11-18-2005, 05:38 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Dec 2003
Location: Port Macquarie
Posts: 79
|
|
This is a neat javascript solution, it validates and will detect versions of flash installed
http://blog.deconcept.com/flashobject/
|

11-18-2005, 05:48 PM
|
|
Community Liaison 2.0
|
|
Join Date: May 2004
Location: Akron/Canton, Ohio (USA)
Posts: 11,110
|
|
Quote:
|
Originally Posted by Marble
http://www.alistapart.com/articles/flashsatay/
Imo, if you are taking care of the important things, like using alt tags on images that represent content, etc... having a few oddities that don't validate is not a big deal. If you really want to make a good xhtml site, don't use flash.
I still use target="blank" attributes on external links, well-knowing that it doesn't validate. But I'd rather not have my users use the back/history button when viewing external sites... This makes my sites not validate 100%, but I don't see it as a big deal.
|
Just be careful! They forgot a quotation mark in the final markup sample!
Code:
<object type="application/x-shockwave-flash
should be
Code:
<object type="application/x-shockwave-flash"

__________________
Studio1337___̴ı̴̴̡̡̡ ̡͌l̡̡̡ ̡͌l̡*̡̡ ̴̡ı̴̴̡ ̡̡͡|̲̲̲͡͡͡ ̲▫̲͡ ̲̲̲͡͡π̲̲͡͡ ̲̲͡▫̲̲͡͡ ̲|̡̡̡ ̡ ̴̡ı̴̡̡ ̡͌l̡̡̡̡.__Web Design
|

11-18-2005, 06:07 PM
|
|
Web Hosting Master
|
|
Join Date: Dec 2003
Location: Vancouver BC, eh?
Posts: 570
|
|
Good catch! Is alistapart aware of this?
Quote:
|
Originally Posted by the_pm
Just be careful! They forgot a quotation mark in the final markup sample!
Code:
<object type="application/x-shockwave-flash
should be
Code:
<object type="application/x-shockwave-flash"

|
|

11-18-2005, 06:57 PM
|
|
Community Liaison 2.0
|
|
Join Date: May 2004
Location: Akron/Canton, Ohio (USA)
Posts: 11,110
|
|
I think people have pointed it out. I have no idea why it isn't fixed. It's a blaring mistake in a very popular article!
__________________
Studio1337___̴ı̴̴̡̡̡ ̡͌l̡̡̡ ̡͌l̡*̡̡ ̴̡ı̴̴̡ ̡̡͡|̲̲̲͡͡͡ ̲▫̲͡ ̲̲̲͡͡π̲̲͡͡ ̲̲͡▫̲̲͡͡ ̲|̡̡̡ ̡ ̴̡ı̴̡̡ ̡͌l̡̡̡̡.__Web Design
|

11-18-2005, 07:03 PM
|
|
Junior Guru
|
|
Join Date: Oct 2005
Location: The Ville
Posts: 225
|
|
interesting stuff! thanks
|

11-18-2005, 07:11 PM
|
|
Web Hosting Guru
|
|
Join Date: Jul 2004
Posts: 337
|
|
Hmm.. Someone else claims he got a better solution than that of ALA.
Is this true?
__________________
█ My woman left me..
█ I've got no website..
█ I've got no money..
|

11-18-2005, 07:54 PM
|
|
Web Hosting Evangelist
|
|
Join Date: Aug 2005
Location: EIB Network
Posts: 474
|
|
Here is your answer. It is called Flash Satay. It is modified source by a gentleman with the last name Satay. I have been using it for sometime now and it works great... 100% valid and no extraneous code. You can google 'flash satay' or visit here:
http://www.alistapart.com/articles/flashsatay/
|

11-18-2005, 08:24 PM
|
|
Web Hosting Guru
|
|
Join Date: Jul 2004
Posts: 337
|
|
Quote:
|
Originally Posted by seodevhead
Here is your answer. It is called Flash Satay. It is modified source by a gentleman with the last name Satay. I have been using it for sometime now and it works great... 100% valid and no extraneous code. You can google 'flash satay' or visit here:
http://www.alistapart.com/articles/flashsatay/
|
That's what we are talking about, right above your post.
__________________
█ My woman left me..
█ I've got no website..
█ I've got no money..
|

11-18-2005, 08:40 PM
|
|
Web Hosting Evangelist
|
|
Join Date: Aug 2005
Location: EIB Network
Posts: 474
|
|
Ahhh....
thanks for the validation on that ;-)
|

11-18-2005, 09:17 PM
|
|
Junior Guru Wannabe
|
|
Join Date: May 2002
Location: Mtl, Quebec
Posts: 97
|
|
Quote:
|
Originally Posted by WebDesignGold.com
Hmm.. Someone else claims he got a better solution than that of ALA.
Is this true?
|
No it isn't, and the Flash Satay article talks about a solution similar to this guy's and it tells why it isn't so good.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|