Hi,Hissam *Sorry to disturb you again :)*
I faced another problem. You replied in your earlier mail that only the UI Component can be added into the RichTextEditor. According to that I have tried to add a progress bar as same way as the button added, but failed. Can anyone help me??????? 2009/8/24 HISSAM <[email protected]> > stage.addChild(txtFld); > > will simply add the object > > 2009/8/24 Arindam Mojumder <[email protected]> > >> 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. >> >> >> >> >> >> > > > -- > ---------------------------------------------------- > Hissam, > Flex Developer, > Vantage Labs, > Singapore-088806 > (M)+65 90852194 > --------------------------------------------------- > Sent from Singapore > > > -- @rindam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

