Hi,
I have a movie at root frame 2 which is loaded from an AS file see code below
var dockTemplate = {layout: 0, icon_size: 127, icon_min: 60, icon_max: 110, icon_spacing: 2, items: [{id: “home”, label: “home”}, {id: “about”, label: “about”}, {id: “services”, label: “services”}, {id: “sales”, label: “sales”}, {id: “find”, label: “find”}, {id: “contact”, label: “contact”}], span: null, amplitude: null, callback: this.dockActions};
this.attachMovie(“Dock”,“menu_mc”,1,dockTemplate);
this.menu_mc._x = Stage.width / 2;
this.menu_mc._y = Stage.height;
stop ();
So what i want to do is unload this movieclip or otherwise hide it, as im loading a different movie clip over the top.
i want to unload it from from within a movie clip on root called Pages
so on Pages on actionscript on a frame i have
unloadMovie(“menu_mc”);
but it does not work. if I put unloadMovie(“menu_mc”); at root it works, can anyone tell me how I can reference the movie from another movie to unload/remove/hide it
Thanks
Scott