EDIT: Yes it worked to set all the sounds to null at the same place where I remove all the frames and content and stuff. Thanks
Show differencesHistory of post edits
#ActualPatriarch K
Posted 06 December 2012 - 12:45 PM
Hmm, I think that when I use the music.stop() method, the music is still in the memory and it is just waiting for me to use music.play() again. There are no function that does music.terminate() or something. But maybe I can set music = null or something. I will try that.
EDIT: Yes it worked to set all the sounds to null at the same place where I remove all the frames and content and stuff. Thanks
EDIT: Yes it worked to set all the sounds to null at the same place where I remove all the frames and content and stuff. Thanks
#2Patriarch K
Posted 06 December 2012 - 12:45 PM
Hmm, I think that when I use the music.stop() method, the music is still in the memory and it is just waiting for me to use music.play() again. There are no function that does music.terminate() or something. But maybe I can set music = null or something. I will try that.
EDIT: Yes it worked to set all the sounds to null at the same place where I remove all the frames and content and stuff. Thanks
EDIT: Yes it worked to set all the sounds to null at the same place where I remove all the frames and content and stuff. Thanks
#1Patriarch K
Posted 06 December 2012 - 12:37 PM
Hmm, I think that when I use the music.stop() method, the music is still in the memory and it is just waiting for me to use music.play() again. There are no function that does music.terminate() or something. But maybe I can set music = null or something. I will try that.