Can't tell exactly what you want to do because I can't find the top 5 thing you're on about
but to get something to happen when you click a button:
Make the the button how you want.
Right click it and click "convert to symbol" and make it a button.
Go into the actions panel and type:
code:
on (release) {
gotoAndStop(5);
}
That will make it go to frame 5, where you can just put whatever you want to appear when you click the button.
Might be getting the complete wrong idea of what you're after but hope it helps