You are here: Change a flash on the fly. « HTML « IT news, forums, messages
Change a flash on the fly.

Posted by Defacta on 08/10/07 13:41

Hi!

Is it possible to change the content of a flash object with javascript
to change a video without having to reload all the page...

The HTML source of the flash is:

<div id="header">
<script type="text/javascript"> AC_FL_RunContent('codebase','http://
download.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=7,0,19,0','width','776','height','96','align','middle','src','flash/
menu','quality','high','bgcolor','#ffffff','name','flash/
menu','allowscriptaccess','sameDomain','pluginspage','http://
www.macromedia.com/go/getflashplayer','movie','flash/menu' );
</script>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=6,0,29,0" width="718" height="141">
<param name="movie" value="flash/video1.swf">
<param name="quality" value="high">
<embed src="flash/video1.swf" quality="high" pluginspage="http://
www.macromedia.com/go/getflashplayer" type="application/x-shockwave-
flash" width="718" height="141"></embed>
</object>
</noscript>
</div>

Thanks,
Vincent.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация