2 questions bout custom cursors and playing specific frame instances

whats the code to do this. when i have an
on release for my movieclip/button, how do it play a certian frame instance? i tried
on release, gotoandplay(“maintitle” but that loads it without clicking the button… help?

and one more thing. i made a custom cursor for my flash and i was wondering when i rollover a button, i want to make it gotoandplay(2); and rollout gotoandplay(1); how do i make code for that…?