<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body><BR >Ted, <BR>
I'm sorry I have to disappoint you. It seems that none of other major browsers is capable to provide<BR>
you with eough control this simple task requires, except Internet Explorer 4 through 7.<BR>
<BR>
After solving the preload issue, that could cause the browser to skip playing the first file or even mix <BR>
the following with previous. I was almost sure I can get it to work, but it didn't!<BR>
<BR>
I've even removed the BGSOUND tag completely to se if I can get it right on IE using EMBED only.<BR>
I did it and it did work. But the problem is: Netscape who introduced it can't handle it. Firefox of course not.<BR>
Opera neither. <BR>
Yes you are free to preload audios through EMBED tag but you can't do with it anything else.<BR>
They stay mute because they don't support embeded.object.play() command. And you can't change the SRC <BR>
attribute either. Especially not in any browser running on MAC. <BR>
There were two alternatives but none supported. To either change the source of embed tag dynamically or (worst) <BR>
to create a separate player plug-in instance for every audio file and then make them play with the timer control. <BR>
The first didn't work through because, none of the browsers except IE was able to dynamically change the source <BR>
of the file in EMBED. And the second, because turning the Autostart from false to true doesn't do anything after the <BR>
embed has loaded. And because play() command is not supported by any of other mozillas except IE.<BR>
At the end the Readystate check becomes obsolete even if supported by other primitive browsers refusing to evolve.<BR>
<BR>
Ajax, fajax etc are all the same bullshit, reusing IE technology (and lately flash) through simple scripts people like us used to publish.<BR>
I remember seeing some codes from early stage of ajax development. All it does is send unsupported methods to their<BR>
server for processing on IE browser (illegally) then simply retrieving results from it to render back in your client. <BR>
Any time their server(s) go down, your pages will stop responding throwing very ugly errors at your clients. Several server <BR>
round trips are often required thus making your pages as slow as they can get. <BR>
<BR>
Pity, firefox is pushing Ajax instead of pushing standards move forward. <BR>
<BR>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR>
Troy III<BR>
progressive art enterprise<BR>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR ><BR>
<HR id=stopSpelling>
<BR>
> Thanks very much for your code and effort.<BR>> However, you have given me something to think about, <BR>
>which is waiting for the server to be ready before sending it commands to play stuff. <BR>
>I think this may require an ajax solution.<BR>> <BR>> Off to study that.<BR>> <BR>> Thanks again.<BR>> <BR>> tedd<BR><BR><br /><hr />With MSN Spaces email straight to your blog. Upload jokes, photos and more. It's free! <a href='http://clk.atdmt.com/MSN/go/msnnksac0030000001msn/direct/01/?href=http://www.imagine-msn.com/spaces' target='_new'>It's free!</a></body>
</html>