Arabic in Flash

Is it possible to put Arabic texts in flash IDE. It always gets malformed. I am talking about both static and dynamic texts.