Wednesday, October 05, 2005

Movieclip stored in an array:

Let's say you create a series of movieclips and store it in an array. Later when the movieclip has been removed via removeMovieClip, do you think you will get undefined when you check the array element that originally points to the mc?

The answer is no. Obviously, if you were to try to query any of the mc's properties such as _x and _y, you will get undefined, but is there a better way to make sure when an mc gets removed, all references to it automatically becomes undefined?

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home