06-28-2012 04:01 AM
Hi there, inside my app there will be one button which when pressed, it'll "reset" the whole app and start over again.
Now I have 2 questions.
The first one is, if i wanna completely destroy a variable and clear up the cache, I use =null; for all the variable right?
The second is, after I've destroyed an image variable. Do i still need to use removeChild() to remove it?
Solved! Go to Solution.
06-28-2012 05:07 AM
06-28-2012 10:49 AM
06-28-2012 10:56 AM
yeap that's what i get also. My apps although i've set it all to null, it still runs a bit laggy. after i removeChild and set it all to null, the whole thing runs perfectly as it is the first time.