473,403 Members | 2,323 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Flash and Accessability

gregerly
192 Expert 100+
Hello,

I posted this in the Flash forum, and they said I should move this over here, so I hope i'm not annoying anyone by double posting.

I have a XHTML Strict document that I am trying to use some flash on, but I'm having problems with validating the doc. I'm using Dreamweaver CS3 to develop with, and Dreamweaver does two things to add flash to a document. First, it uses javascript to create an swfobject, and include the flash file that way first (so you don't have to click it for it to work). Then it adds a <noscript> tag that will add the flash with the <object> tag if there is no javascript available in the browser enviornment. The code for the noscript tag is below:

[HTML]<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="780" height="155" title="Fresno Fusion">
<param name="movie" value="../swf/flash_header.swf" />
<param name="quality" value="high" />
<embed src="../swf/flash_header.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="780" height="155"></embed>
</object>
</noscript>[/HTML]

When I remove the code above, the page will validate, however leaving it in will not validate in an XHTML Strict doc. Is there a way to include the Flash, and have it validate?

Thanks in advance!

Greg
Jun 28 '07 #1
2 1603
Hello,

I posted this in the Flash forum, and they said I should move this over here, so I hope i'm not annoying anyone by double posting.

I have a XHTML Strict document that I am trying to use some flash on, but I'm having problems with validating the doc. I'm using Dreamweaver CS3 to develop with, and Dreamweaver does two things to add flash to a document. First, it uses javascript to create an swfobject, and include the flash file that way first (so you don't have to click it for it to work). Then it adds a <noscript> tag that will add the flash with the <object> tag if there is no javascript available in the browser enviornment. The code for the noscript tag is below:

[HTML]<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="780" height="155" title="Fresno Fusion">
<param name="movie" value="../swf/flash_header.swf" />
<param name="quality" value="high" />
<embed src="../swf/flash_header.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="780" height="155"></embed>
</object>
</noscript>[/HTML]

When I remove the code above, the page will validate, however leaving it in will not validate in an XHTML Strict doc. Is there a way to include the Flash, and have it validate?

Thanks in advance!

Greg
Hi Greg,

Does the javascript have HTML comment tags around it? I'm not sure if Dreamweaver does that for you or not?

So it would be like

<script type="text/javascript">
<!--
javascript here
-->
</script>

Laura
Jun 29 '07 #2
gregerly
192 Expert 100+
It doesn't, but the javascript validates if left alone. It's the <noscript> portion that I posted that I'm having issues with. I'll look into that though. Thanks for the reply.

Greg
Jun 29 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Keith Rowe | last post by:
Hello, I am trying to reference a Shockwave Flash Object on a vb code behind page in an ASP.NET project and I receive the following error: Guid should contain 32 digits with 4 dashes...
0
by: Logan | last post by:
I was wondering if anyone had any suggestions on how to get accessability information form a window handle. I know this is possible and even found some sample code but it doesn't seem to work....
0
by: Carlao | last post by:
I am using Windows Forms with vb.net. My app is a MDI and I have some child forms. My problem is when I try to use Control+Tab. If I have a TabControl control with some tabpages in the main form...
0
by: gregory_may | last post by:
I want to stuff information into a text box with via the accessibility API .... Anyone know how do I do it in .Net? So has anyone tried to talk to the Accessibility api with .Net? I cant seem to...
4
by: vivek | last post by:
I am new to flash and want someone to guide me, Is it possible to create a UI entirely in Flash and that will inetract with C# components (backend) and these components will in return interact...
115
by: post2google | last post by:
I was thinking about where to go for lunch the other day, so I went to hardees.com to see what the menu looked like these days. What comes up is a big note that my flash version is not new enough...
8
by: Neo Geshel | last post by:
Greetings. BACKGROUND: My sites are pure XHTML 1.1 with CSS 2.1 for markup. My pages are delivered as application/xhtml+xml for all non-MS web clients, and as text/xml for all MS web...
2
by: =?Utf-8?B?TWFyYyBXaWNrZW5z?= | last post by:
Hi I have noticed that the LinkButton creates a hyperklink to a javascript location .e.g. <a href="javascript:__dopostback" This is bad for accessability because browsers without Javascript...
2
dream party
by: dream party | last post by:
Inserting a Flash (SWF, FLV) file into HTML web page is already an old and familiar thing to all of us. It is a rather non-flexible thing that just to edit some options in the template. However, I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.