im new to scripting.. and i wanted the output to be like this

scene 1
button "gotoscene 2"

on (release) {
tellTarget("/my divider before the scene 2 loads")
gotoandplay(1)
//after the divider is the Scene 2..i need a code on the button.. not actionscript
(CODE)
GotoAndPlay("Scene 2", 1)

suggestion?