Hi,
I'm currently doing an interactive flash for a company and
for many obvious reasons I'm programming it as object oriented. I
do at some point attach an empty movie clip which I fill with many
texteFields, movieClips and I also load an external image using the
loadMovie function. I decided to do it that way so I could just
clean everything up when needed by simply removing the mother clip,
hoping its content would follow as well.
Am I wrong ?
Thanks.removeMovieClip and the clip's content
you are correct.removeMovieClip and the clip's content
This wouldn't clean up any listeners or intervals you've put
in there. But yes the visible thing will go.
Additionally you might want to look into using the
MovieClipLoader class instead of the loadMovie function. It has
nice events such as onLoadError, onLoadInit, and so forth. These
will make the coding for loading much easier to manage.
Thanks for the answers and the hint.
Subscribe to:
Post Comments
(Atom)
No comments:
Post a Comment