?
Solved

valid flash object code

Posted on 2007-10-15
1
Medium Priority
?
212 Views
Last Modified: 2013-11-19
I have the following flash code

<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="760" height="250">
    <param name="movie" value="finalrev6.swf">
    <param name="quality" value="high">
    <param name="wmode" value="transparent">
    <embed src="finalrev6.swf" width="760" height="250" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent"></embed>
  </object>

I need to make it xmtml valid any ideas how I would do this?
0
Comment
Question by:roscoeh23
1 Comment
 
LVL 16

Accepted Solution

by:
alain34 earned 2000 total points
ID: 20078459
Hello roscoeh23,

I think you should add a / character at the end of each <param> tag in the following way <param name="movie" value="finalrev6.swf" />

You can see bloew the validation using CSE validator


--------------------------------------------------

CSE HTML Validator Lite v8.01 (Registered)
Checking "C:\Documents and Settings\ao2\Desktop\testEE.html" (783 characters).
File date is 15 October 2007 at 15:19:35.
File checked on 15 October 2007 at 15:19:46.

[CSE] No errors or warnings were detected!

     Number of lines checked: 14 in 0.00 seconds
      Number of programs run: 16
 Number of lines in document: 14 (100.0% of lines checked)
     Number of lines ignored: 0
Number of character entities: 0
        Number of start tags: 9
          Number of end tags: 6 (66.7% of start tags with end tags)
Number of <% ... %> sections: 0
     Number of HTML comments: 0

Number of validator comments: 2
          Number of messages: 0
            Number of errors: 0
          Number of warnings: 0

--------------------------------------------------

   1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
   2: <html xmlns="http://www.w3.org/1999/xhtml">
   3: <head>
   4: <title>EE test</title>
   5: </head>
   6: <body>
   7: <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="760" height="250">
   8:     <param name="movie" value="finalrev6.swf" />
   9:     <param name="quality" value="high" />
  10:     <param name="wmode" value="transparent" />
  11:     <embed src="finalrev6.swf" width="760" height="250" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent"></embed>
  12:   </object>
  13: </body>
  14: </html>

[CSE] Comment number 1:
The lite edition missed 2 errors that the standard or
professional edition would have found.

[CSE] Comment number 2:
0 errors, 0 warnings, 0 messages, 2 comments.

--------------------------------------------------

<html> (2)
| <head> (3)
| | <title> (4)
| | </title> (4)
| </head> (5)
| <body> (6)
| | <object> (7)
| | | <param/> (8) <param/> (9) <param/> (10)
| | | <embed> (11)
| | | </embed> (11)
| | </object> (12)
| </body> (13)
</html> (14)


Regards,

alain34
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to how to record live broadcast.
Suggested Courses

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question