Button Linking

Hello Dudes,

Im a noob in flash so dont get annoyed or anything if my question is kinda like below your standards BUT,

Can u guys tell me how to link 1 button to another in Flash?

I mean the tutorial for it cuz theres this “Box” that can input a password and once i type it in i wanna press a button “Next” so that it will either say “Access Denied” or “Access Granted”.

Thank You for your time and Your Help.