1 Reply Latest reply on Oct 15, 2007 4:34 PM by ntsiii

    Dynamically add custom MXML components in Actionscript

    Vicente Maciel Jr.
      As there's no constructor for custom MXML components, how to dynamically add it as a child using ActionScript?

      I'm looking for some alternative to avoid the need to rewrite the entire existent component in ActionScript just to add it this feature (a constructor). PopManager is not an alternative...

      Is there any way?

      The case/situation:
      I have a custom MXML component that needs to be dinamically added to a NativeWindow created using ActionScript.

      Thanks a lot!

      Vicente Junior
      Independent Web Developer
      http://teclandoalto.blogspot.com