You have menuExit_mc in quotes, it's being passed as a string. You need to
pass a reference to the movieclip.

On 8/30/07, Lord, Susan Ms. (CONTR) <[EMAIL PROTECTED]> wrote:
>
> Hi there, I have a set of buttons (menuExit_mc) that I load after I load
> an external swf (movie). When I click my main menu button, enacting
> mainMenu(), I want the menuExit_mc to be removed from the screen.  I am
> not sure why this is not working for me.
>
> Any ideas? Below is my code. Any help you can provide is appreciated.
> Thanks!
>
>
> load(movie, myLoadedClip_mc);
> attachMovie("mcMenuExit", "menuExit_mc", getNextHighestDepth(),
> {_x:637.3, _y:559.8});
>
> function mainMenu() {
>         trace("bing");
>         unloadMovie(myLoadedClip_mc);
>         gotoAndPlay("mainMenu");
>         removeMovieClip("menuExit_mc");
> }
>
> _______________________________________________
> 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
>
_______________________________________________
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