doke01
06-20-2007, 07:37 PM
I have a strange issue. I have an audio player set up in a window. If I open the window an mp3 file starts to download and play, which is great! If I close the window before the mp3 file downloads completely and re-open it again the mp3 file will sometimes play but usually fails completely. If I close the window and open it again the mp3 player will always fail to start playing or even downloading the mp3.
I use the following code to completely close the window and I think that the audio player is not completely closing down when I do this because when I refresh the browser everything works fine again.
<method name="close" event="close">
Debug.write("!!!!! Close event fired.");
LzModeManager.release(this.parent);
this.parent.destroy();
</method>
Any suggestions on closing down the audio player completely when the window closes would be appreciated or if anyone else has had this problem it would be great to hear your solution.
Thanks,
Doug
I use the following code to completely close the window and I think that the audio player is not completely closing down when I do this because when I refresh the browser everything works fine again.
<method name="close" event="close">
Debug.write("!!!!! Close event fired.");
LzModeManager.release(this.parent);
this.parent.destroy();
</method>
Any suggestions on closing down the audio player completely when the window closes would be appreciated or if anyone else has had this problem it would be great to hear your solution.
Thanks,
Doug