how do i create an if statement for some buttons to say something like:
if button1 is pressed go to frame1
if button2 is pressed go to frame2 etc.
i know i could use button1.onRelease = function(){blah blah;} but i would like to start using if statements and this is a good place to start i guess
any help is appriciated, Cheers Dan