Making It Come to Life
Now, if you play your application, the text would change to the rollover state as you move your mouse over the text, and change back to the normal state as you move your mouse away from the text area, thus showing true interactivity. Now, you need to add the interactivity to show when the user clicks on the text. For this, you will add a new Event.
In the Event popup, select mouseDown.
In the Action popup, select Sprite, Change Cast Member.
Select the "down" state for your text.
This will give the appearance that the text is reacting to the user's interaction.
To finish off the visible elements of the interaction, I also add a mouseUp command. In the Event popup, select mouseUp.
In the Action popup, select Sprite, Change Cast Member.
Select the "rollover" state for your text.
The reason you are selecting the rollover state and not the normal state is because your mouse is still over the textit has not moved to some other area of the screen. These commands will certainly give the appearance that the text is responding to the commands given by the user, based on how and where he moves his mouse.