Hmm, thanks. Currently, I am doing the following:
if ( _element != null ) {
_element.dispose();
removeChild( _element );
_element = null;
}
Maybe I should change it to code block below? The dispose()-method tries to
stop any Timer-instances and removes event listeners and nullifies any objects
(i.e. not Numbers or ints).
if ( _element != null ) {
_element.dispose();
removeChild( _element );
delete _element;
_element = null;
}
I think it's a bit confusing for me :) I will re-watch the presentation
tomorrow.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders