Mailing List
Home
Forum Home
Flash Pro
Subjects
Subject: RE: Firework Effect
Web Service Results
Flash Interface with 10mb xml file
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash MX 2004 Sucks
Reading and displaying RSS feeds in Flash MX
Flash and QuickTime VR
Textfield prototype question
XML to Object help
Order of events per frame
MX2004 Dataset itemClassName
memory management removeMovieClip /
Event Dispatcher between classes
Help: MX 2004 How to script a print button to print the entire sli
ScrollPane component doesn 't auto update
setInterval bug identified and fixed
setInterval bug identified and fixed
Listener Object 's best practice
 
duplicateMovieClip scope

duplicateMovieClip scope

2004-03-12       - By Andreas Weber

 Back
Reply:     1     2     3     4  

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)