Ok Hissam I got the point. But I am asking to add it on the stage Application. If I paste this code to Flash cs3 then it is working fine. I just want to know if I want to create and add a dynamic textField to the stage application, then will this code work?
public function intRt():void{ txtFld= new TextField(); txtFld.autoSize = TextFieldAutoSize.LEFT; txtFld.background = true; txtFld.border = true; txtFld.text="vcdihsvidshv eveir bveurvb"; txtFld.autoSize="true"; var format:TextFormat = new TextFormat(); format.font = "Verdana"; format.color = 0xFF0000; format.size = 10; format.underline = true; txtFld.defaultTextFormat = format; addChild(txtFld); } Thanks friend. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---