Mailing List
Home
Flash Pro
Extending Flash
Flash Macromedia Developer
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
What is a pointer to a deleted MovieClip?

What is a pointer to a deleted MovieClip?

2004-02-13       - By MailingLists

 Back
Reply:     1     2     3     4  

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)