[Flashcoders] Re-parenting movie clips in AS 2.0

2006-07-25 Thread Jason Lutes
Surely there is a work-around, however convoluted, for assigning a movie
clip instance to some other parent movie clip in AS 2.0. Does someone know
of a trick? It can involve undocumented features, removing/attaching...
whatever.

Much appreciated.


-
pixelTwiddler, a.k.a. Jason


___
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


Re: [Flashcoders] Re-parenting movie clips in AS 2.0

2006-07-25 Thread John Mark Hawley
Simple movies can be almost re-parented by deep-copying all the data and 
methods from one movie into another, but you'll run into problems if you try 
this with MovieClip subclasses that require constructor calls, and things 
rapidly get complicated as the clip you need to reparent gets more complicated. 
There is no magic bullet for this. (But there's always another way to 
accomplish whatever you're trying to do.)

 
 From: Jason Lutes [EMAIL PROTECTED]
 Date: 2006/07/25 Tue AM 09:02:12 CDT
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] Re-parenting movie clips in AS 2.0
 
 Surely there is a work-around, however convoluted, for assigning a movie
 clip instance to some other parent movie clip in AS 2.0. Does someone know
 of a trick? It can involve undocumented features, removing/attaching...
 whatever.
 
 Much appreciated.
 
 
 -
 pixelTwiddler, a.k.a. Jason
 
 
 ___
 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
 

--
John Mark Hawley
The Nilbog Group
773.968.4980 (cell)

___
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