On(release) gotoAndPlay

Hi,

I’m getting data from a database and I put this data in an array that looks like this:

me, you, he, she

Now I want this data to be put in an dynamic text field like this

me
you
he
she

and they all have the option to click on it and do things like this
for me:

on (release){
gotoAndPlay (20);
}

for you:

on (release){
gotoAndPlay (25);
}

for he:

on (release){
gotoAndPlay (30);
}

for she:

on (release){
gotoAndPlay (35);
}

thanks in advance