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 Robert H. Maurizi

 Back
Reply:     1     2     3     4  

What exactly are you trying to trace out? It appears that you're
attempting to trace an instance of a MC, so I'm not sure if that will
actually trace, as I don't think it returns anything... What about:

trace(_root.contentScreen_mc.contentLoader_mc._name); // or some other
property of said mc to see if it's getting created properly.

also, using the 30 level won't remove the clip at level 20 which, if
I'm not mistaken, you want to do.

-Rob


On Mar 12, 2004, at 5:04 PM, thotskee wrote:

> Flashnewbie,
>
> I have a movie clip on the state with an instance name. We'll call him
> "loader_mc". Elsewhere in the application I have created a movie clip
> using
> _root.createEmptyMovieClip("contentScreen_mc", 20). Now I would like to
> duplicate loader_mc on the main stage into the scope and more
> importantly
> the depth of contentScreen_mc.
>
> _root.contentScreen_mc.duplicateMovie(_root.loader_mc,
> "contentLoader_mc",
> 30);
>
> I try to trace out: trace(_root.contentScreen_mc.contentLoader_mc)
>
> Nothing is written to the output window.
>
> What am I missing here?
>
> Thanks,
>
> thotskee
>
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> 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)
>
>

--

Rob Maurizi
Information Systems Analyst

Center for Teaching & Learning
University of Vermont

802-656-0317 // robert.maurizi@(protected)

"our web site doesn't load if I turn javascript off ... please fix  
this"