Flex popup window disappears if x or y becomes negative number with fraction

There is a strange glitch in the Flex SDK – if you center PopUp window by yourself, then you should check that x & y properties are always casted to integer values.

If x or y coordinate becomes negative number with fraction, the whole popup window disappears.  This is strange as positive numbers with fraction are valid. And what is most frustrative, DesignView sets them with fractional parts when you re-arrange elements. 

 

UPD: bug submitted

Leave a Reply