Reg : actionscript for device fonts

Help pleaso…

Just need to know if there is some actionscript code to turn on device fonts…

I know this can be done within the property panel but I need this to be done using code…

Heeeeelppppp

Shallroc *_^