right, that's referered to as "re-parenting" a movieclip...changing the parent of a clip. can't do that in AS1 & 2. the usual solution is to attach a clip from the library at the spot where the clip you were dragging is dropped. pretty much a slight-of-hand trick.
On 3/10/06, Bob Leisle <[EMAIL PROTECTED]> wrote: > > You are right. duplicateMovieClip() works within one timeline only. > You might try attachMovie() from the Library to get where you want to go. > > > Веб разработчик студии 123.ru wrote: > > >Dear all, > > > >There seems to be no answer to this one question on the web, nor did it > >bother anyone at anytime: > > > >The almighty duplicateMovieClip (global funk or MC method, no matter) > >doesn't seem to be capable of duplicating a MC from one timeline into a > >different one. > > > >The thing I'm trying to achieve is grab a copy of a MC _root.mc1.mc2 > (thus > >it's _name = mc2) into a MC different from _root.mc1, for instance _root > > > >But it doesn't seem to be possible. Am I right? > > > >Something like this (thought the code is obviously incorrect): > > > >_root.mc1.mc2.duplicateMovieClip("_root.newMC", 100); > >trace(_root.newMC); > > > > > > > > > > > > > > > >_______________________________________________ > >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 > > > > > > > > > > -- > Thanks, > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Bob Leisle > Headsprout Software & Engineering > http://www.headsprout.com > Where kids learn to read! > > > _______________________________________________ > 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