1 Reply Latest reply on Nov 13, 2008 4:36 AM by markh

    Problem with addChild()

      I have added a few components to a container using mxml and 2 more using actionscript's addChild but there is a big space between the statically added components and the dynamically added ones and the container's width extends by the width of the dynamically added components. I've called invalidateDisplayList() after adding the children but it does nothing. Is this a major bug in v3 (didn't have problems adding stuff dynamically in v2) or am I missing something? Other people are having the same problem in the forums but there doesn't seem to be any solution.