Buttons with dynamic text

Hi

I’m wanting to know if its possible to have a dynamic text box thats rendered as HTML but also have selected words as buttons. I already know how to make URL links with dynamic text boxes but I want to perform a ‘gotoAndPlay’ action when a selected word is clicked.

Any Ideas?