You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by leejk <le...@yahoo.com> on 2014/05/12 15:23:33 UTC

Reacting to Device Orientation

Hi,

In a custom component, I'm adjusting the layout in the updateDisplayList
override function. However, when the device changes orientation, this
function gets called only once, and during this first call the
stage.stageHeight property has not been updated yet. What's the proper way
to detect this change in Flex?

thx



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Reacting-to-Device-Orientation-tp6407.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.