I have no idea why this isn't working. I have created a container movieclip then set it's visible property to false in a number of ways. I can only hide the mc if I change the alpha but I need the clip to have no visibility so the user can't interact with the buttons on it.

Any suggestions as to what I'm doing wrong thankfully received.
Thanks,
Ali



        private function loadInitialAssets():Void
        {
                //create assetsHolder on main timeline and make invisible
var tmpContainer:MovieClip = rootMC.createEmptyMovieClip("linksMC", display.getMCDepth("linksMC"));


                //none of these work!
                rootMC["linksMC"]._visible = false;
                rootMC.linksMC._visible = false;
                tmpContainer._visible = false;
                
                //set object in display
                display.setLinksMC(tmpContainer);
                initLoader = new MovieClipLoader();
                initLoader.addListener(preLoader);
                //swap depths with loader
                tmpContainer.swapDepths(preLoader);
                initLoader.loadClip("assets.swf", tmpContainer);      
        }
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to