Export as Image/Movie Clip

Hi All,

I am new to flash and action script. I am using action script 2.0
I want to automate Export option in Flash CS4 Professional using Action Script 2.0.
Is it possible? If yes, please help me!

Thanks in advance.