Gotcha: Resize transition for Adobe AIR WindowedApplication in Flex 4

Just ran into this gotcha while trying to apply a Resize transition for my AIR WindowedApplication in Flex 4 (Gumbo) using states. It appears — at least in my app — that simply setting the width.stateName and height.stateName doesn't work: it causes the animation to jump. Instead, I found that I also had to set explicitHeight.stateName, explicitWidth.stateName and minWidth.stateName and minHeight.stateName.

Here's a simple snippet to illustrate:

Comments