PDA

View Full Version : Xhtml - object - embed


Kuratko
03-08-2007, 03:00 AM
Ahooj!

Im making a webpage... i want it to be compatible with XHTML 1.0 Transitional...

so what about this code... :cool:


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" data="menu.swf" type="application/x-shockwave-flash" width="640" height="86">
<param name="movie" value="menu.swf" />
<param name="quality" value="high" />
<param name="menu" value="false" />

</object>


it seems to work with both my browsers (IE 7 and Firefox 2)... :D

but will it work with all the main browsers? :confused:
and has it any bad side? :o

thanks a lot

Kuratko
03-08-2007, 11:26 PM
umm ciao...

well...
at the end the correct code that should be validate and work with the main browsers... should be this:


<script type="text/javascript">
AC_FL_RunContent( 'type','application/x-shockwave-flash','data','svk.swf?path=slide.swf','width','64 0','height','480','movie','sv?path=slide.swf','qua lity','high','flashvars','abc=au.xml&sh=Never','menu','false' ); //end AC code
</script><noscript><object type="application/x-shockwave-flash" data="sv.swf?path=slide.swf" width="640" height="480">
<param name="movie" value="sv.swf?path=slide.swf" />
<param name="quality" value="high" />
<param name="FlashVars" value="abc=au.xml&amp;sh=Never" />
<param name="menu" value="false" />
</object></noscript>


it works well and it doesnt even ask to click for to activate the controller... (thanks to the scritp)

but now my Question:confused:
how to pass those variables (FlashVars) to the movie that is loaded by the other movie???

thanks a lot;)