Frame number

Hi,

I am a newbe so far as actionscript is concerned.

I am trying to make a basic file, where I wish that on(release) of a button,
if the current location is ‘x’ then it should gotoandplay (10)
else if current location is ‘y’ the it should gotoandplay(20) etc.

Can you guide how do I do this?

Thanks
Jabardast:crying: