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

Posted by cwdjrxyz on 08/10/07 16:26

On Aug 10, 8:41 am, Defacta <vincent.margue...@gmail.com> wrote:
> 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>

If I understand what you want to do, there is no need to use script.
When making the first flash, encode it to switch to another flash
display with onclick or at the end of a flash movie. Then in your page
code, you only have to use the first flash object, and the switching
to another flash display is done automatically.

 

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

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