Yes in AS3 you can move DisplayObjects to other parents without problems.
One thing to note is that you need to remove it from the current display
list before you add it to the other.
Something like this:
parent1.removeChild(theClip);
parent2.addChild(theClip);
Greetz Erik
On 9/6/07, T. Micha
On 9/6/07, Mendelsohn, Michael <[EMAIL PROTECTED]> wrote:
> Just as I suspected, Julian. Thanks for your reply. Doesn't this
> feature exist in AS3? (I have no experience with it yet.)
As I recall, duplication in AS2 wasn't really duplication--just
instantiation of the same symbol and its assoc
Just as I suspected, Julian. Thanks for your reply. Doesn't this
feature exist in AS3? (I have no experience with it yet.)
- MM
> As far as I know you can't duplicate movieclips into a container other
than the original one.
___
Flashcoders@chatty
Yes.
As far as I know you can't duplicate movieclips into a container other
than the original one.
You could try attachMovie if you need to use the same movieclip symbol
in different places.
In any case, when you duplicate a movieclip, you don't get a clone of
the current state of the object.
Hi list...
[AS2] I'm trying to figure out how to copy a movieClip from inside a
scroll pane component and paste that copy on the _root. The movieclip
version of duplicateMovieClip doesn't seem to work because I can't
target the clip inside the scroll pane. The global version of
duplicateMovieCl
5 matches
Mail list logo