duplicateMovieClip scope 2004-03-12 - By Robert H. Maurizi
Back 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"
|
|