im getting the following error on the output window, although the .swf file works just fine when tested and published.

menu
TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::MovieClip@1e878881 to flash.display.SimpleButton.

this is the code that is generating the error:

apps.addEventListener(MouseEvent.CLICK, clickapps);
function clickapps(event:Event):void{
trace("apps");
gotoAndStop("apps");
}
entrees.addEventListener(MouseEvent.CLICK, clickentrees);
function clickentrees(event:Event):void{
trace("entrees");
gotoAndStop("entrees");


any ideas?
thanks,
robert
}