flash - Unload MovieClip before Removing? -


what should be unload before a movie clip Removing away from the phase, to get its content approved by RAM and therefore leave the RAM better?

Adobe Flash AS2 documentation:

  • removeMovieClip () - Removes a movie clip instance.
  • unloadMovie () - Removes the content of the movie clip instance.
  • not

    unloadMovieClip , a movie clip removes the contents of the instance. Examples of the properties and clip handlers remain.

    For example, delete , including its properties and clip handlers, use MovieClip.removeMovieClip ().

    removeMovieClip () will remove all the marks in the example MovieClip while UnloadMovieClip ()) will only remove its contents, which means unloadMovie () is not necessary to call before calling removeMovieClip () .


Comments