2 Replies Latest reply on Mar 6, 2008 8:03 AM by mseritan

    instantiating TextInput and ScrollBar

      I have an application that I moved from Flash CS3. It instantiated a fl.controls.TextInput and ScrollBar and added them to the display list with addChild(). After moving to Flex 3 I naively changed the packages to mx.controls and got the code to compile. However the objects do not show on screen so I am missing something. All the examples I can find use mxml. I would like to create the above objects programatically because otherwise I need to put together mxml for all the application and this will be a major setback.

      What options do I have?