Hi Nik,

As far as I know you can only duplicate a MovieClip into the same parent.

attachMovie is used for attaching MovieClip symbols (which have been
assigned linkage id's) from your library.

I think the simplest thing to do would be to set a linkage id for your
movieclip symbol in the library and then use attachMovie to make copies of
it wherever you need them.

Adrian P.

On 5/2/06, Nik Derewianka <[EMAIL PROTECTED]> wrote:

Hi all,

Flash 8 Pro:

Im trying to find a way to duplicate one movie clip into a new movieclip
so
that it can take advantage of the new target MC's rotation, location  etc.
It looks like duplicateMovieClip is what i want, but as far as i can tell
it
seems to only duplicate an MC within the same parent MC - is this really
the
case or am i missing something ??

ie i want it to operate like:  mcToDupe.duplicateMovieClip
(newParentMc,"newname",newParentMc.getNextHighestDepth())

The next alternative i looked at was to just removeMovieClip from the
source
MC and then attachMovie (nice func naming consistency there) into the
destination MC, but looking through the MovieClip properties and functions
i
cant see a way to determine the ID of the mc so that i can recreate it via
attachMovie in the dest mc - is there a way to obtain this ??

Any other ways to achieve this ??

Regards,
:: Nik Derewianka ::
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to