| | |
How to insert a Flash movie in html and maintain w3c standards?
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Dec 2004
Posts: 1
Reputation:
Solved Threads: 0
The home page is a flash movie for a site i created,when i use the w3c validation tool, it gives errors saying "invalid attribute "embed" ",
"invalid attribute "scr" "; if i take of "embed" it does not work in Netscape. And also when validating shows error for the movie height and width , if i take that off then the movie is not show fully even in IE.
Please help if some one does know ?
thanks,
meena
"invalid attribute "scr" "; if i take of "embed" it does not work in Netscape. And also when validating shows error for the movie height and width , if i take that off then the movie is not show fully even in IE.
Please help if some one does know ?
thanks,
meena
•
•
Join Date: Dec 2004
Posts: 15
Reputation:
Solved Threads: 0
Hi,
You can insert a flash file through <embed src>. But, the w3c validator shows that tag as an invalid one.
:mad: We design professionals take the w3c guidelines as guidelines only. If you follow the w3c standards, you can't build up a really good site. Your creativity is fully stopped. You customer cannot be satisfied.
I recommend, dont follow W3C. But, a flash file works in Netscape, cool. You can use Dreamweaver or Homesite to design/test your pages. As far as height, if you embed the flash file in a layer, it shows different height and width in Netscape.
The code may take this form,,,,
<object classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="32" height="32">
<param name="movie" value="file://test.swf">
<param name="quality" value="high">
<embed src="file://test.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="32" height="32"></embed></object>
:lol: Cheers and Happy Designing
Lovablefool
You can insert a flash file through <embed src>. But, the w3c validator shows that tag as an invalid one.
:mad: We design professionals take the w3c guidelines as guidelines only. If you follow the w3c standards, you can't build up a really good site. Your creativity is fully stopped. You customer cannot be satisfied.
I recommend, dont follow W3C. But, a flash file works in Netscape, cool. You can use Dreamweaver or Homesite to design/test your pages. As far as height, if you embed the flash file in a layer, it shows different height and width in Netscape.
The code may take this form,,,,
<object classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="32" height="32"><param name="movie" value="file://test.swf">
<param name="quality" value="high">
<embed src="file://test.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="32" height="32"></embed></object>
:lol: Cheers and Happy Designing
Lovablefool
Last edited by lovablefool; Dec 6th, 2004 at 9:21 am. Reason: Spelling mistake
see http://www.alistapart.com/articles/flashsatay/ for some standards-compliant code that does the trick.
•
•
Join Date: Nov 2009
Posts: 1
Reputation:
Solved Threads: 0
-1
#4 3 Days Ago
•
•
•
•
The home page is a flash movie for a site i created,when i use the w3c validation tool, it gives errors saying "invalid attribute "embed" ",
"invalid attribute "scr" "; if i take of "embed" it does not work in Netscape. And also when validating shows error for the movie height and width , if i take that off then the movie is not show fully even in IE.
Please help if some one does know ?
thanks,
meena
HTML and CSS Syntax (Toggle Plain Text)
<iframe src="someflash.swf" width="200" height="100" frameborder="0" scrolling="no"></iframe>
![]() |
Similar Threads
- How do I find the HTML code in my Flash movie to embed in Frontage 2003??? (HTML and CSS)
- use listbox to insert data? (PHP)
- How to automatically load next page after flash movie has played... (Graphics and Multimedia)
- News Story: HTML: The Next Generation (XML, XSLT and XPATH)
- Inserting (large) flash banner in HTML page (HTML and CSS)
- Scaling Flash Movies in HTML (Graphics and Multimedia)
Other Threads in the HTML and CSS Forum
- Previous Thread: Repeating background image not aligning properly
- Next Thread: i need urgent help
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping swf swf. textcolor timecolor titletags url urlseparatedwords visualization web webdevelopment webform website windows7





