gotoAndPlay x-frame of MC when another MC reaches y-frame

Hi,

how can I gotoAndPlay x-frame of MC when another MC reaches y-frame?

Thanks for help!