sure Matt, I'm using as3...:)
also can I use
stage.removeChildAt(0);
since the newly created movieclip instance appears always on 0 or at
least I think based on the link Glen pike send me about.
Gustavo
On Jun 2, 2009, at 2:02 PM, Matt Gitchell wrote:
The container would be the stage in that instance, yes. I used it
because
Stage extends DisplayObjectContainer, and you could use that chunk
of code
for any DisplayObjectContainer (MovieClip, Sprite) as well.
I should also mention that we're talking AS3.
--Matt
On Tue, Jun 2, 2009 at 10:38 AM, Gustavo Duenas LRS <
gdue...@leftandrightsolutions.com> wrote:
in this case what is container? is stage.?
like this
if(stage.contains(contactWindow)){
stage.removeChild(contactWindow);
}
is like this, if not please explain me what this container is about.
Gustavo
On Jun 2, 2009, at 12:07 PM, Matt Gitchell wrote:
if (container.contains(itemToRemove)){
container.removeChild(itemToRemove);
};
On Tue, Jun 2, 2009 at 8:45 AM, Gustavo Duenas LRS <
gdue...@leftandrightsolutions.com> wrote:
Hi I have movie clips, that are created one I click a button,
I'd like to
know how could
I remove then, something to put in the buttons, problem is when
I try to
remove
the movieclip from the stage(I put the orders en every single
button I
have
there), it says that is not created yet, there is a way to know
when the
movie clip is on there and if this is there
just remove it.
Like if(stage.movieclipName=true){
removeChild(movieClipName);
}
there is a way like this or something else around.
Regards,
Gustavo Duenas
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders