tpeck
08-28-2007, 04:39 PM
I have an .html page with flashsound references on it - and an embedded .swf file containing various sounds.
like this:
<script>
var mySoundObj1 = new FlashSound();
var mySoundObj2 = new FlashSound();
</script>
</head>
<body>
<span onclick="mySoundObj1.TGotoAndPlay('/wd1','start')"><img border="0" src="img/sound1on.gif""</span>
<span onclick="mySoundObj2.TGotoAndPlay('/sd1','start')"><img border="0" src="img/sound2on.gif""</span>
...
<script>
mySoundObj1.embedSWF("media/sounds1.swf");
mySoundObj2.embedSWF("media/sounds2.swf");
</script>
*************************
Simple enough and it works - but my question is how do I incorporate a Flash sliding volume control on the page that will affect all the sounds (i.e. in and from all the embeds).
Is it possible?
Thanks.
like this:
<script>
var mySoundObj1 = new FlashSound();
var mySoundObj2 = new FlashSound();
</script>
</head>
<body>
<span onclick="mySoundObj1.TGotoAndPlay('/wd1','start')"><img border="0" src="img/sound1on.gif""</span>
<span onclick="mySoundObj2.TGotoAndPlay('/sd1','start')"><img border="0" src="img/sound2on.gif""</span>
...
<script>
mySoundObj1.embedSWF("media/sounds1.swf");
mySoundObj2.embedSWF("media/sounds2.swf");
</script>
*************************
Simple enough and it works - but my question is how do I incorporate a Flash sliding volume control on the page that will affect all the sounds (i.e. in and from all the embeds).
Is it possible?
Thanks.