duplicateMovieClip scope 2004-03-12 - By Andreas Weber
Back The generic description of the method (from the help docs):
my_mc.duplicateMovieClip(newname, depth [,initObject])
Note that it is duplicateMovieClip() (not duplicateMovie())
In your example:
_root.loader_mc.duplicateMovieClip('loaderDuplicate_mc', 30);
The duplicate will always be a sibling of the duplicated clip - they will always have the same parent (in our example _root). There is no way to make the duplicate a child of contentScreen_mc. (If you create loader_mc manually, you can use attachMovie() to make a new instance of the loader_mc Symbol the child of contentScreen_mc)
If you want to replace contentScreen_mc with the duplicate, you would use depth 20 instead of depth 30.
HTH -- ---- ------ Andreas Weber motiondraw.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Supported by Fig Leaf Software -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Lower Prices for Certified Training! Check out new lower prices for Certified Macromedia Training from Fig Leaf Software. Expand your skill set with courses in ColdFusion, Flash, Rich Internet Applications and .NET in the new year. Fig Leaf Software provides the highest caliber instruction at our training centers in Washington D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location.
Get the details at http://training.figleaf.com/ -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected) For additional commands, e-mail: flashnewbie-help@(protected)
|
|