Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MM_controlShockwave

Status
Not open for further replies.

red2034

Programmer
Aug 13, 2007
1
US
I have several links on some HTML pages that call for a swf audio file to play - but i can not get them to 'StopPlay' so if you click on all the links on the page it starts playing each file (overlapping) how can i get the sound file to play by it self. here is what i have so far.
-------------------------------------------------------------------
<script language="JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function hideShield() {
MM_showHideLayers('shield','','hide');
}

// -->
</script>
------------------------------------------------------------------


<a href="#" onMouseUp="MM_showHideLayers('click3','','hide','c lick4','','hide','click5','','hide','click6','','h ide','click7','','hide','click8','','hide','click2 ','','show');MM_controlShockwave('movieC2','','Pla y')">Enhancing skills, knowledge, and attitudes</a>

<a href="#" onMouseUp="MM_showHideLayers('click2','','hide','c lick3','','show','click4','','hide','click5','','h ide','click6','','hide','click7','','hide','click8 ','','hide');MM_controlShockwave('movieC3','','Pla y')">Learning more efficiently</a>

and so on.....


when I click one link - I want the other to stop...


Red
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top