Watch Spark Europe Lectures on Fabchannel
The only thing that is worse than hearing my own voice on the answering machine is to see myself on video. So I personally cannot watch my Spark session on Fabchannel.com - but you might want to in case you couldn't make it Amsterdam. Currently there are already five complete sessions to be watched for free online: Kevin Lynch's, Stefan Sagmeister's, Craig Swann's, André Michelle's and mine and I think they will even add more over time. Today those sessions are still at the top of the list, but if you read this at a later time you might have to use their search function to find them.
Posted at November 23, 2005 10:32 AM | Further reading
for your memory leak problem:
you can not just unload a movie but what you have to do
is to dispose() all BitmapData instances before.
Yes of course, dispose() is of course the tool of choice, but I still think that the garbage collection should take care for that automatically if you unload a movieclip - especially as there is no onUnload event in Flash.
Great lecture, but what's with the player they're using over at fabchannel? That thing is junk!
It seems to me that the best work around is assign a method to the movieclip prototype that invokes dispose() and removeMovieClip(); which you would call to 'obliterate' movieclips. You could even have onUnload() checked (for existence) and invoked to simulate an assignable onUnload() event that would be triggered before the destruction of the movieclip.
Yes I think that if you know that unloading a movieclip that uses a lot of bitmapData will create a memory leak you can take countermeasures against that beforhand. My problem was that the first time I discovered this problem was in the midsts of my presentation in Singapore.
Your presentation at Spark in Amsterdam was brilliant. Thank you very much for sharing your experiments with the rest of us :)
xa4