Advertisement

04.22.2008 at 07:08PM PDT, ID: 23345258
[x]
Attachment Details

Dreamweaver, Flash, need to mute sound/stop flash with js

Asked by cubbyboy57 in JavaScript, Miscellaneous Web Development, Macromedia Flash

Tags: ,

I am working with a site that uses frames. The top frame of every page has a flash banner with sound that plays in a loop. (I can get access to the fla file if I need to).

I have attached the code Dreaweaver has added to the html and the snippet that refers to the swf file. These are in the "top" frame and link needs to be in the "bottom" frame.

I now have to add a link to a mp3 file and need to either mute or stop the flash (prefer mute) that is continually playing.  There is a mute "button" on the banner - if I can "click" it that would work.

I don't have alot of experience with frames, flash, or functions - but will try anything suggested.

Thanks,


Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
<script type="text/javascript">
           AC_FL_RunContent('codebase','http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0','width','800','height','115','id','ron's_template','align','middle','allowScriptAccess','sameDomain','src','flash/rons_template','quality','high','wmode','transparent','bgcolor','#ffffff','name','designer','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','flash/rons_template' );
        </script>
<noscript>
         <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="800" height="115" id="ronrawlings_template" align="middle">
           <param name="allowScriptAccess" value="sameDomain" />
           <param name="movie" value="http://www.mydomain.com/flash/rons_template.swf" />
           <param name="quality" value="high" />
           <param name="wmode" value="transparent" />
           <param name="bgcolor" value="#ffffff" />
           <embed src="http://www.mydomain.com/flash/rons_template.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="800" height="115" name="rons_template" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
        </object>
</noscript>
Attachments:
 
Active X js
 
 
 
[+][-]04.28.2008 at 12:59PM PDT, ID: 21457141

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.01.2008 at 05:54AM PDT, ID: 21478091

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.01.2008 at 09:59AM PDT, ID: 21480426

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: JavaScript, Miscellaneous Web Development, Macromedia Flash
Tags: javascript, flash, ie 6+
Sign Up Now!
Solution Provided By: alexpercsi
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.14.2008 at 04:21AM PDT, ID: 21562906

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628