Hi,

 

I don't understand what I get when running this:

 

////////////////////////////////////////////////////////////////////////////
////

 

            for (var i = 0; i < NumPages_v; i ++)

            {

                        var NewMC_mc:MovieClip =
ContentContainer_mc.createEmptyMovieClip("container"+i,
getNextHighestDepth());

                        NewMC_mc._x = ScreenWidth_c * i;

                        NewMC_mc._y = 0;

                        var mcLoader:MovieClipLoader = new
MovieClipLoader();

                        mcLoader.addListener(this);

                        mcLoader.loadClip(WebsiteMap_a[i].File_tx,
NewMC_mc);

 

                        function onLoadInit(mc:MovieClip) {

                        trace("onLoadInit: " + mc);

                        }

 

 

            }

////////////////////////////////////////////////////////////////////////////
////

 

I get NOTHING ! My external movieClips are not load or at least displayed.

 

But if If replace:

var NewMC_mc:MovieClip =
ContentContainer_mc.createEmptyMovieClip("container"+i,
getNextHighestDepth());

 

by

 

var NewMC_mc:MovieClip = createEmptyMovieClip("container"+i,
getNextHighestDepth());

 

it works.

 

But I want to load my external into the movie clip named
"ContentContainer_mc" present on the main scene on the root of my main
Movie.

 

What am I missing here ?

Must be stupid.

 

Any advice are welcome,

 

Thanks,

 

Hugues.

 

_______________________________________________
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

Reply via email to