  | |  | What is a pointer to a deleted MovieClip? | What is a pointer to a deleted MovieClip?
2004-02-13 - By MailingLists
Back If I create a "pointer " to a MovieClip I attached as follows:
this.attachMovie( "MyClass ", "inst_mc ", 10);
this.myVar = this.inst_mc;
Then I delete the MovieClip later:
this.myVar.removeMovieClip();
or
this.inst_mc.removeMovieClip();
what happens to the "myVar " variable? I have tried all of the following to
test if the removeMovieClip happened, but they all return false:
this.myVar == null
this.myVar == undefined
this.myVar == " "
Does anyone know how to test if a MovieClip has been removed by testing the
"pointer " to that MovieClip?
Thanks,
Nate
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104223
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |