/ Published in: ActionScript 3
Expand |
Embed | Plain Text
//removeChild只是将对象从显示列表中移除,并没有从内存中移除 //要把对象从内存中去掉,最好的办法是弱引用,并且在removeChild后,加一句mc=null,取消之前的引用
You need to login to post a comment.
lzyy on 06/26/08
2 people have marked this snippet as a favorite
//removeChild只是将对象从显示列表中移除,并没有从内存中移除 //要把对象从内存中去掉,最好的办法是弱引用,并且在removeChild后,加一句mc=null,取消之前的引用
You need to login to post a comment.