Is it possible to change html text color from flash?

I have a flash movie and it lives on the same page as some html text. I was wondering if it were possible (javascript probably but I’m not sure how) to change the color of the html text from my flash movie when i click on a button. Any help would be appreciated. thanks.