Hi All,
First, I very much appreciate your help in tackling this
problem. The support is great. Thank you ALL for your interest in
this matter, and Boo on Macormedia for making it necessary! I still
think they dropped the ball on this one. But you all seem to be on
top of it. At least, enough of us are chasing it down!
I think kgal DID come up with a solution, once I got my
coding right!
In my first test of kglad's solution, I had a code error that
wasn't really a "true" AS error, so that gave me the wrong results.
I re-copied and pasted the code and then the "player" worked
properly. (Sorry-- kicking myself)
Now that the AS was exaclty what kglad suggested, I saved the
file as an SWF and HTML page and posted it along with a song to my
Web site.
Okay so far.
Until, of course I remembered that I am on DSL (but I am
trying to code for 56K users as well) so my song, at 321K just
zipped in too fast for me to stop it getting into the cache.
Easy solution, I reconverted the song to a bigger size, 1.15
MB, which is still not enough to choke DSL, but it does slow it
down enough that if I stop it, it won't cache.
Well, that worked!
Next, I alstered the code a little bit to add a start AND
stop button, just to make sure of things.
It still seems to work, in that the song simply will NOT
cache if, as kglad says, you hit the stop button before the song
has a chance to comepletely download and then you wait long enough
for it to have cached if it was going to.
(Why is this getting confusing?)
Okay, so I tested it in MSIE because I can use the Internet
Tools to look at my cache files. Trying to do this with Firefox
either eludes me or can't be done.
What I did in MSIE was opened the Internet Tools, clicked on
the settings tab for cookies and cache and looked at the files. I
saw my web page, my swf, and (if I allowed the song to play all the
way) the song.
I cleared the cache, reloaded the page, started the download
via the PLAY button. Then I stopped it after about a second. Then I
waited the minute or so the song takes to play normally and checked
the cache. It wasn't there! (hooray!)
So does this mean FLash actually did stop the streaming? It
seems to indicate that to me and many thanks to kglad!
However, knowing i already messed up one attempt to use the
code properly, or I may be analysing the situation incorrctly,
would anyone care to try the same trick?
I hope this won't be considered spamming if I give you a Web
link where the test page is:
http://www.clydesight.com/streamMP3/Webtest.html
I think this is the solution (though I am not sure whay
testing it in the FLASH environment doesn't work-- kind of makes
the test movie less than all it could be)
Thanks to everyone for your interest and support with this
problem. I hope the tech folks at Macromedia see this thread and
pick up on it so they can improve their product. Then again, they
may raise the price! Oops.....
Thanks all, please, if you try my Web pager, post a reply
here so I can see what you all found too.
And again, many thanks to kglad.