Follow @Daniel 's instructions.
Select to Add a new Custom Behaviour. Name it and give it the continue timeline…
Then in the symbol, give the button a on click action and choose Custom Behaviour. Then either type the name you gave or choose it from the selection.
Inside Symbol Actions Inspector - for button
CustomBehaviourFoo.hype.zip (14.3 KB)
That should be it.