Write an article based on this "Use your cursor to select your button. Press F9 to open the Actions panel. Choose Control > Test Movie > Test Command. Hover and click over your button."
Type the name "myButton" into the Name field of the Properties panel. Input the following code into the Actions window:  function set up Events() { // associate events with event handlers myButton.addEventListener(MouseEvent.CLICK, clickButtonHandler); myButton.addEventListener(MouseEvent.MOUSE_OVER, hoverButtonHandler); } setupEvents(); function clickButtonHandler(e:MouseEvent) { trace("Clicked Button!"); } function hoverButtonHandler(e:MouseEvent) { trace("Hovered Over Button!"); } Your application will then appear in the Flash Player window. The Output window will display text such as "Hovered Over Button!" or "Clicked Button!" depending on the actions that you took.