2 Replies Latest reply on Apr 3, 2008 5:23 AM by Quester99

    Actionscript and HBox padding

    Level 1
      How do you set the padding values of an HBox in Actionscript?

      Can somebody explain why components have certain properties when using MXML and different properties when using Actionscript? This is does not make sense to me.

      For example when using an HBox in MXML it has paddingTop, paddingRight, paddingBottom, paddingRight properties. But if you create a HBox in Actionscript those propertes are no where to be found.

      Am I missing something here?