Change the visited link and button color automatically

Hi,

I have one thing to discuss with you guys…

How can I change the visited link color of the text automatically in flash.
and second thing is that what should I do to change the button color if it is clicked already.

Instant help will be appreciated.
Thanks in advance.