This kind of things like the title of this post is the first you think when something doesn't go as expected, and I should admit that even knowing that probably is my fault, my first reaction is to say: this is a bug.
But experience teach that most of the time, probably we're the cause of the error. Ok, direct to the story, I want to resize a component when user resize the browser, so you need to add the proper listener:
this.stage.scaleMode = StageScaleMode.NO_SCALE
this.stage.addEventListener(Event.RESIZE, checkResize);
This will cancel automatic behaviour on resizing and gives you the control. Then inside the function you position or resize manually elements. My goal is to resize a panel but seems to fail. Switching between two sizes (instead to manually resize the browser by hand), that's pressing F11, so switch full screen/normal screen for the browser, I discover that my panel takes always the old size of the container, not the new one, and this is because the measurement phase for the componets happens after the Event was dispatched.
Solution?
I discover that the Application width/height was allways correct, so I do my calculations based on the whole application size instead of only the container, since I should work based on percentages due to the liquid layout I have in mind. Sequence uis:
Application resizes ->Event is dispatched -> components fires his render routines
Jorge