wav2swf foo.wav -v -s 44100 -S -b 128 -o foo.swf
As you can see, I used -S to make sure that the sound doesn't play automatically when the page loads. However, I would like to use _javascript_ to control the playback. I have downloaded flashsound.js, and here's my HTML code to attempt this playback. For some reason, it's not working. I would appreciate any help you could provide:
<html>
<head>
<script src=""> <script>
var foo = new FlashSound();
function playFoo() {
document.foo.GotoFrame (1);
document.foo.Play();
}
</script>
</head>
<body>
<script foo.embedSWF="foo.swf"></script>
<a href=""
</body>
</html>
When the page loads, the SWF does not automatically play. However, clicking on this "Play" link doesn't start the playback. I would appreciate any help that you could provide.
Thanks,
Troy Henderson
Assistant Professor
Department of Mathematical Sciences
252 Thayer Hall
United States Military Academy
West Point, NY 10996
(845) 938-5649
http://www.tlhiv.com
_______________________________________________ Swftools-common mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/swftools-common
