Hello,
I’m trying to retrieve the width and height of a particular UIComponent in Flex whenever the stage resizes. (The component changes size whenever the stage resizes). This works great if I resize the AIR window by dragging the corner handle, but if I maximize the window, the component returns its PREVIOUS width and height at the time of the Event.RESIZE event. If I restore the window (or click “maximize” again), then it shows the maximized dimensions rather than the restored dimensions. It seems to be one step behind when I use the maximize button. Anyone ran into this problem or know the solution?
Thanks,
Eric