IE active content flash validation problem

This is a discussion on "IE active content flash validation problem" within the Flash & Multimedia Forum section. This forum, and the thread "IE active content flash validation problem are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 20th, 2006, 10:15
Up'n'Coming Member
Join Date: Jul 2006
Location: poole
Age: 26
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
IE active content flash validation problem

hi, i did register and post this question a few days ago but it seems when the site went down my account and posts were lost. so, here's my question.

since IE have introduced the active content block, i have been using the javascript code in dreamweaver 8.02 to get around it.

it works fine, however my pages will not validate with the code. here is an example of one of my pages being validated:

http://validator.w3.org/check?uri=ht...om%2Findex.htm

as you can see, all errors are to do with the flash code. here's the code i use:

Code: Select all
<script type="text/javascript">AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','806','height','20','src','nav','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','nav' ); //end AC code</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="806" height="20"><param name="movie" value="nav.swf" /><param name="quality" value="high" /><embed src="nav.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="806" height="20"></embed></object></noscript><script type="text/javascript"></script><!-- end of fix--></div><div id ="banner"><!-- IE flash active content fix --><script type="text/javascript">AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','806','height','150','src','better','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','better' ); //end AC code</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="806" height="150"><param name="movie" value="better.swf" /><param name="quality" value="high" /><embed src="better.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="806" height="150"></embed></object></noscript><script type="text/javascript"></script>
anyobdy know what the problem is? thanks.
Reply With Quote

  #2 (permalink)  
Old Jul 20th, 2006, 16:44
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sypher
Re: IE active content flash validation problem

Its because of the <embed> tag. You can lose this tag for example:
Code: Select all
<object type="application/x-shockwave-flash" data="myflash.swf" width="550" height="400">
<param name="movie" value="myflash.swf" />
</object>
Reply With Quote
  #3 (permalink)  
Old Jul 20th, 2006, 22:24
Up'n'Coming Member
Join Date: Jul 2006
Location: poole
Age: 26
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
Re: IE active content flash validation problem

ok thanks.

so if i lose the embed tags, will it still work without having to "activate" it in IE?
Reply With Quote
  #4 (permalink)  
Old Jul 20th, 2006, 22:31
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sypher
Re: IE active content flash validation problem

Ye if you follow my code above it works exactly the same and its xml strict valid.
Reply With Quote
  #5 (permalink)  
Old Jul 20th, 2006, 22:43
Up'n'Coming Member
Join Date: Jul 2006
Location: poole
Age: 26
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
Re: IE active content flash validation problem

sorry i dont quite understand, does that mean i only have to use the small bit of code above as you have, and i can lose all the javascript etc? or do i just remove the part with the embed tags, and keep the rest.
Reply With Quote
  #6 (permalink)  
Old Jul 20th, 2006, 23:01
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sypher
Re: IE active content flash validation problem

You have to use the code above and ur javascript if you want to get round the ie active x bug.
Reply With Quote
Reply

Tags
active, content, flash, validation, problem

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Validation and Flash marSoul Web Page Design 18 Jan 21st, 2008 13:46
[SOLVED] Movieclip button active state problem !! Help Please !! alladeen Flash & Multimedia Forum 6 Oct 25th, 2007 14:40
Problem with showing active text in .net table? JayHegUK ASP.NET Forum 4 Sep 7th, 2006 20:52
active x problem dbarrie Web Page Design 3 Jul 19th, 2006 16:32
Unknown active content Tino Classic ASP 3 Dec 15th, 2005 14:11


All times are GMT. The time now is 21:57.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43