Noobie question I suppose. I'm just missing something

I’m trying to make 2 things move when I click on one of the objects.

The code I’m putting in is

on (Release) { 
gotoAndPlay("txt") ;
gotoAndplay("bar") ;
} 

simple bit of code!

But it always just plays “bar” Which is what I am clicking on to make them move.

Even when I delete out "gotoAndPlay(“bar”); It still only moves “bar”

any ideas?