Listbox help

Hi. I want to make a music player, when you select a label, a music starts to play. But i need to do this by a dynamic text variable, because the player and the list is in different movieclips. Erm… Can someone give me an example script of when i click the label, the text changes, and for the player, check if the text is something.
I’m pretty confused. Help? Ty.
(P.S.: I’ve tried searching but i couldnt find the exact code i need.)