tpeck
08-09-2006, 05:47 AM
Hi. I have using javascript to embed sound in a webpage using the flashsound.js method ONLINE WITH THE SWF FILE COMING FROM A CD and it's been working fine. Now something is causing it to change its behaviour and the page never gets to finish loading - hence no flashsound.
I don't know why this should suddenly happen. Any ideas?
Here is the code:
<html>
<head>
<script src="http://aapress.com.au/js/flashsound.js" language="JavaScript1.2"></script>
<script>
var mySoundObj1 = new FlashSound();
</script>
</head>
<body>
<a href="javascript://" onclick="mySoundObj1.TGotoAndPlay('/s1','start');return false;">
<img border="0" src="cat1.png"></a>
<script>
mySoundObj1.embedSWF("E:/MEDIA/AUDIO/listgame1.swf");
</script>
</body>
</html>
*****************************************
As I say, it used to work but not now. It still works offline in IE.
Can anyone help?
I don't know why this should suddenly happen. Any ideas?
Here is the code:
<html>
<head>
<script src="http://aapress.com.au/js/flashsound.js" language="JavaScript1.2"></script>
<script>
var mySoundObj1 = new FlashSound();
</script>
</head>
<body>
<a href="javascript://" onclick="mySoundObj1.TGotoAndPlay('/s1','start');return false;">
<img border="0" src="cat1.png"></a>
<script>
mySoundObj1.embedSWF("E:/MEDIA/AUDIO/listgame1.swf");
</script>
</body>
</html>
*****************************************
As I say, it used to work but not now. It still works offline in IE.
Can anyone help?