How to Play with Button enable & disable

Hi friends

I am now learning flash Mx
can you help iln clearing my doubts

  1. how to show alert messages
    2)there are three buttons in my project
    [color=red]button 1, button 2, button3
    [/color][color=magenta]if you press [color=sienna]button1[/color] [color=blue]button 3[/color] should get [color=blue]disabled[/color] and if your press [color=darkgreen]button 2[/color] then [color=navy]button 3[/color] should get [/color][color=navy]enabled[/color]

    and also an alert should be displayed at the same time that button 3 is disable or enabled

email Id [email protected]