Is there a reason that a movie clip attached to _root cannot be removed
using removeMovieClip?
if I do
_root.attachMovie(square, s, _root.getNextHighestDepth());
then _root.s.removeMovieClip(); does not remove the clip.
However
if I do
mc.attachMovie(square, s, mc.getNextHighestDepth());
and
Hi,
is this in an empty movie, or a movie with components in it?
Try and trace the depth, if its higher than a certain number (which may be
caused by components on your stage) you have to swap it to a lower depth first.
greetz
Hans
At 10:27 PM 12/14/2005, Jason Rayles wrote:
Is there a reason
Jason Rayles wrote:
Is there a reason that a movie clip attached to _root cannot be removed
using removeMovieClip?
If _root.getNextHighestDepth() returns a negative value, then you cannot
remove the movieclip unless you swap it up to some positive depth. I'm
not sure, but that might be it.
Hello,
I noticed a problem with this function, getNextHighestDepth, it
positions the clips to too high level and so removeMovieClip does not
delete your clip. You have to put yourself a level to your clip.
bye
Jason Rayles a écrit :
Is there a reason that a movie clip attached to _root
I'll just put an empty movie clip on the stage
and attach something to that.
On Dec 14, 2005, at 4:29 PM, [EMAIL PROTECTED]
wrote:
Message: 16
Date: Wed, 14 Dec 2005 22:32:23 +0100
From: Hans Wichman [EMAIL PROTECTED]
Subject: Re: [Flashcoders] can't remove a clip attached to root
@chattyfig.figleaf.com
Subject: [Flashcoders] can't remove a clip attached to root???
Is there a reason that a movie clip attached to _root cannot be removed
using removeMovieClip?
if I do
_root.attachMovie(square, s, _root.getNextHighestDepth());
then _root.s.removeMovieClip(); does not remove
6 matches
Mail list logo