Hi Nik,

I see what you mean now - you want to be able to ask a MovieClip what the
linkage id of it's master in the library is. And, yes, there seems no nice
way of doing this!

Another option to consider might be to derive the attached movie clips'
names from the linkage ids and then use the _name to derive the linkage id
back again when you need it. So, given a linkage id of "myLibSymbol", name
derived clips "myLibSymbol_1", "myLibSymbol_2" and so on and then, when you
need to know a movie clip's linkage id just extract it from the _name using
String methods. I like that fact that this route would mean that the data
you needed is encapsulated in the name of the clip itself but there may be
unnecessary processing load with the String manipulation? I'm just thinking
freely here!

Cheers
Adrian P.

On 5/2/06, Zeh Fernando <[EMAIL PROTECTED]> wrote:

> 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 ??

Yes, it is the case - it only duplicates movieclips within the same
parent,
creating a sibling.

If you want to duplicate or move movieclips across different movieclip
levels, you'll need to either create movieclips that can be attached (so
you
can just reattach the movieclip to another level and set its properties to
mimic the original one) or use/wait for AS3.


- Zeh

_______________________________________________
[email protected]
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

_______________________________________________
[email protected]
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