1 Reply Latest reply on Aug 19, 2006 6:37 AM by inlineblue

    Is there a way to do innerMXML (just like innerHTML in js)?

    allnighter Level 1
      I have a case where a significant portion of the Flex page needs to be redrawn with different widgets, layout and data with certain user actions. I can do that in ActionScript but then I will need to go through the tedious job of instantiating controls in actionscript, adding properties and then adding them to the application DOM. In DHTML, there is a really handy way of doing that i.e. innerHTML allows you to set a HTML string and the browser will automatically create DOM objects out of it.

      I am looking for a innerMXML or something like that which would take the MXML string and automatically create controls etc. out of it and place them in the application DOM. Is it possible with ActionScript 3.0? Is this functionality planned for future?