Re: [WSG] Flash and Validation

2005-12-13 Thread Hyeonseok Shin




I have some problem with this method when I use this in ASP files. The
IIS engine attempts parsing this embeded object element and
returns error DO NOT EMBED OBJECT ELEMENTS. I cannot understand why
client side code - HTML - makes service side error. So I use this
method like following way in ASP project.
	!-- Hixie method --
	!--[if IE]
	object classid="" class="moz-txt-link-rfc2396E" href="clsid:d27cdb6e-ae6d-11cf-96b8-44455354">"clsid:d27cdb6e-ae6d-11cf-96b8-44455354" codebase="" class="moz-txt-link-rfc2396E" href="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="900" height="80" id="flash_movie" align="middle"
		param name="movie" value="/images/swf/main_menu.swf" /
		param name="wmode" value="transparent" /
	/object
	![endif]--
	!-- Hixie method --
	!--[if !IE] --
	object type="application/x-shockwave-flash" data="/images/swf/main_menu.swf" width="900" height="80"
		param name="wmode" value="transparent" /

	/object
	!-- ![endif]--
morten fjellman wrote:
Hi.
I have used the following code for a couple of years now, and have
never had any problems with it.
  
object classid="" class="moz-txt-link-rfc2396E" href="clsid:D27CDB6E-AE6D-11cf-96B8-44455354">"clsid:D27CDB6E-AE6D-11cf-96B8-44455354"
codebase=""http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
width="762" height="118"
param name="movie" value="
header.swf" / 
param name="quality" value="high" /
!--[if !IE] --
object data=""
  width="762" height="118"
type="application/x-shockwave-flash"
  
param name="quality" value="high" /
param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer
  " /
ERROR! There is supposed to be Flash content here.
/object
!-- ![endif]--
   /object
  
The width, height and path to the swf are just example values. Same
with the Error text.
  
  
Regards Morten Fjellman
  
  On 12/12/05, Richard Stephenson [EMAIL PROTECTED]
wrote:
  One
way of getting round the problem is to use _javascript_ to add the
flash to a valid document using DOM _javascript_. Have a look at Bobby
van der Sluis's UFO

http://www.bobbyvandersluis.com/ufo/


Richard
--
DonkeyMagic: Website design  development
http://www.donkeymagic.co.uk



On 12/12/05, Joseph R. B. Taylor 
[EMAIL PROTECTED] wrote:
 Guys and Gals,

 A problem I have ignored all too long is Flash and XHTML.The
problem
 lies in the embed tag and its attributes of course.I
have of course

 read the alistapart articles on how they have taken steps to make
valid
 code, but I have still found problems in Opera etc when using
their methods.

 I wonder how you guys code in your flash on your pages - let me
know!


 Thanks,

 Joe Taylor
 http://sitesbyjoe.com
 **
 The discussion list for
http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help

 **


**
The discussion list forhttp://webstandardsgroup.org/


See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


  
  
  





Re: [WSG] Flash and Validation

2005-12-13 Thread Ben Curtis


On Dec 12, 2005, at 10:18 AM, morten fjellman wrote:

I have used the following code for a couple of years now, and have  
never had any problems with it.


object

...

!--[if !IE] --
object data=header.swf

...

/object
!-- ![endif]--
  /object



I'm about to launch a site using a slightly enhanced form of this  
technique, based on Hixie's method:


!--[if IE]
object width=89 height=13 type=application/x-shockwave-flash  
codebase=http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/ 
swflash.cab#version=7,0,0,0

param name=movie value=/swf/audio.swf /
param name=flashvars value=code=Van_Vorst_Park /
![endif]--!--[if !IE]--
object type=application/x-shockwave-flash width=89 height=13  
data=/swf/audio.swf?code=Van_Vorst_Park

!--![endif]--
	a href=/Film/Van_Vorst_Park/audioblog_1.mp3img src=/img/text/ 
buttons/audioblog.gif width=89 height=13 alt=audioblog //a

/object

The enhancement is mostly some combined redundancies, and an  
alternate content viewable by IE. (Morten's version hides the inner  
object and therefore its alternate from IE.)


The only problems I've found with variants of Hixie's method do not  
apply to my site, but may apply to you. Safari apparently does not  
read the param values of an object tag. (Please let me know if I'm  
misinterpreting its symptoms.) This means that flashvars need to be  
passed in the url (bad for caching), and that things like bgcolor or  
wmode need to be set as attributes within the object tag. Such  
proprietary attributes, of course, invalidate the tag.


--

Ben Curtis : webwright
bivia : a personal web studio
http://www.bivia.com
v: (818) 507-6613




**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



[WSG] Flash and Validation

2005-12-12 Thread Joseph R. B. Taylor

Guys and Gals,

A problem I have ignored all too long is Flash and XHTML.  The problem 
lies in the embed tag and its attributes of course.  I have of course 
read the alistapart articles on how they have taken steps to make valid 
code, but I have still found problems in Opera etc when using their methods.


I wonder how you guys code in your flash on your pages - let me know!

Thanks,

Joe Taylor
http://sitesbyjoe.com
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] Flash and Validation

2005-12-12 Thread Bob Schwartz

I use this:

http://blog.deconcept.com/2005/03/31/proper-flash-embedding- 
flashobject-best-practices/




Guys and Gals,

A problem I have ignored all too long is Flash and XHTML.  The  
problem lies in the embed tag and its attributes of course.  I  
have of course read the alistapart articles on how they have taken  
steps to make valid code, but I have still found problems in Opera  
etc when using their methods.


I wonder how you guys code in your flash on your pages - let me know!


**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] Flash and Validation

2005-12-12 Thread morten fjellman
Hi.I have used the following code for a couple of years now, and have never had any problems with it.object classid="">codebase="" href="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0width=762 height=118param name=movie value=
header.swf / param name=quality value=high /!--[if !IE] --object data="">  width=762 height=118 type=application/x-shockwave-flash
param name=quality value=high /param name=pluginurl value=http://www.macromedia.com/go/getflashplayer
 /ERROR! There is supposed to be Flash content here./object!-- ![endif]--   /objectThe width, height and path to the swf are just example values. Same with the Error text.
Regards Morten FjellmanOn 12/12/05, Richard Stephenson [EMAIL PROTECTED] wrote:
One way of getting round the problem is to use _javascript_ to add theflash to a valid document using DOM _javascript_. Have a look at Bobbyvan der Sluis's UFOhttp://www.bobbyvandersluis.com/ufo/
Richard--DonkeyMagic: Website design  developmenthttp://www.donkeymagic.co.ukOn 12/12/05, Joseph R. B. Taylor 
[EMAIL PROTECTED] wrote: Guys and Gals, A problem I have ignored all too long is Flash and XHTML.The problem lies in the embed tag and its attributes of course.I have of course
 read the alistapart articles on how they have taken steps to make valid code, but I have still found problems in Opera etc when using their methods. I wonder how you guys code in your flash on your pages - let me know!
 Thanks, Joe Taylor http://sitesbyjoe.com ** The discussion list for
http://webstandardsgroup.org/See http://webstandardsgroup.org/mail/guidelines.cfmfor some hints on posting to the list  getting help
 The discussion list forhttp://webstandardsgroup.org/
 See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list  getting help**



[WSG] Flash Standards Validation

2004-11-17 Thread Olajide Olaolorun
I am setting up a site that requires flash but i notice that some of
the needed tags for some browsers are not valid...

Can anyone tell me the valid code...

Te last one I tried did not work well with IE5.5 or less...

Thanks

-- 
Best Regards, 
Olajide Olaolorun @ www.olajideolaolorun.com
...ain't nothing impossible unless you make it...
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Flash Standards Validation

2004-11-17 Thread Iain Harrison
Wednesday, November 17, 2004, 12:50:34 PM, Olajide wrote:

 Can anyone tell me the valid code...

 Te last one I tried did not work well with IE5.5 or less.

It's really difficult to do all three of:

1. Check for the flash plugin
2. Use a valid method to load the flash object
3. Stream the flash

I've not managed to do all three at once. My workaround is to load a
tiny flash file to do 1. and 2. and then load the main flash object
to do 2. and 3.

But I don't like Flash anyway.


-- 

 Iain

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Flash Standards Validation

2004-11-17 Thread Olajide Olaolorun
I am still trying to learn flash the main program but for now I just
use Swish Max for some small effects and later try to learn flash when
I have finished everyhting in my hand...

-- 
Best Regards, 
Olajide Olaolorun @ www.olajideolaolorun.com
...ain't nothing impossible unless you make it...
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Flash Standards Validation

2004-11-17 Thread Johannes Reiss
try:

bodypValid Flash example for XHTML 1.0 Strict/pp
object type=application/x-shockwave-flash data=abc.swf width=355
height=282
param name=movie value=extro6.swf /
img src=abc.gif width=355 height=282 alt=banner /
/object/p
/body

should validate to XHTML 1.0 Strict.

best regards
johannes


- Original Message - 
From: Olajide Olaolorun [EMAIL PROTECTED]
To: Web Standards Group [EMAIL PROTECTED]
Sent: Wednesday, November 17, 2004 1:50 PM
Subject: [WSG] Flash  Standards Validation


 I am setting up a site that requires flash but i notice that some of
 the needed tags for some browsers are not valid...

 Can anyone tell me the valid code...

 Te last one I tried did not work well with IE5.5 or less...

 Thanks

 -- 
 Best Regards,
 Olajide Olaolorun @ www.olajideolaolorun.com
 ...ain't nothing impossible unless you make it...
 **
 The discussion list for  http://webstandardsgroup.org/

  See http://webstandardsgroup.org/mail/guidelines.cfm
  for some hints on posting to the list  getting help
 **




**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Flash Standards Validation

2004-11-17 Thread csslist

the noraml embed tag will choke on validation as it is a depreciated tag
several ppl have added the work around already

what i do for flash checking is this

open up flash and change the canvas size to 1 pixel by 1 pixel and in the 
actionscript i just add this line of code

getURL (main.html)


in this case main.html is my main page
and export it in the lowest version of flash that u will accept in your site, u 
use 6.


then on the index page where u want flash checked u add the movie 1st thing 
then after that u add the code for getting or upgrade your flash now, i also 
add lots of search engine goodies on that page

so what happens is that when the page is loaded if the user has at least flash 
6 then it redirects them to the main page if not the movie wont be processed 
and will show the add/upgrade page

make sense?


-- Original Message --
From: Olajide Olaolorun [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Wed, 17 Nov 2004 07:50:34 -0500

I am setting up a site that requires flash but i notice that some of
the needed tags for some browsers are not valid...

Can anyone tell me the valid code...

Te last one I tried did not work well with IE5.5 or less...

Thanks

-- 
Best Regards, 
Olajide Olaolorun @ www.olajideolaolorun.com
...ain't nothing impossible unless you make it...
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**


 
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Flash Standards Validation

2004-11-17 Thread Chris Kennon
Hi,
As I've not had a strong cup of Earl Grey this morning, this reply  
could be as useful  as (2) left shoes, but the following url has a  
pretty solid standards compliant flash-embed method:


http://blog.deconcept.com/2004/10/14/web-standards-compliant- 
javascript-flash-detect-and-embed/


C
On Wednesday, November 17, 2004, at 05:47 AM, csslist wrote:
the noraml embed tag will choke on validation as it is a depreciated  
tag
several ppl have added the work around already

what i do for flash checking is this
open up flash and change the canvas size to 1 pixel by 1 pixel and in  
the actionscript i just add this line of code

getURL (main.html)
in this case main.html is my main page
and export it in the lowest version of flash that u will accept in  
your site, u use 6.

then on the index page where u want flash checked u add the movie 1st  
thing then after that u add the code for getting or upgrade your flash  
now, i also add lots of search engine goodies on that page

so what happens is that when the page is loaded if the user has at  
least flash 6 then it redirects them to the main page if not the movie  
wont be processed and will show the add/upgrade page

make sense?
-- Original Message --
From: Olajide Olaolorun [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Wed, 17 Nov 2004 07:50:34 -0500
I am setting up a site that requires flash but i notice that some of
the needed tags for some browsers are not valid...
Can anyone tell me the valid code...
Te last one I tried did not work well with IE5.5 or less...
Thanks
--
Best Regards,
Olajide Olaolorun @ www.olajideolaolorun.com
...ain't nothing impossible unless you make it...
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**

**
The discussion list for  http://webstandardsgroup.org/
 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**

___
Knowing is not enough, you must apply;
willing is not enough, you must do.
---Bruce Lee
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] Flash Standards Validation

2004-11-17 Thread Olajide Olaolorun
This is a really intresting topic because you would think that
Macromedia or W3C will agree on something

-- 
Best Regards, 
Olajide Olaolorun @ www.olajideolaolorun.com
...ain't nothing impossible unless you make it...
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**