Dynamic text gradient & shadow

Hello,

I am a newbie at using flash, but…

I want to make some headings for a website. Now i load the text with flashvars to use in flash and I use a dynamic text field to display the text but I can’t style it. All I need is to add a gradient and some shadow.
I tried doing it with a mask but I had no success…

Please help me and give me atleast a hint on how to do this… I use Flash CS4.

Thanks