Navigation Question Using Slide Presentation

I’m making a slide presentation and instead of needing forward/backward buttons I need buttons that go to individual slides. I tried the


on (release)
{
gotoAndPlay("slide5");
}

and


on (release)
{
gotoAndPlay("slide5",1);
}

which doesn’t seem to want to work for me. Flash throws a fit when I try to take out the quotation marks around the slide number. Thanks for any help.