actually listen for a RESIZE event on the view, then check if the width of
the view is greater than the height. If it is, landscape, if not, portrait.
On Fri, Jun 22, 2012 at 2:56 PM, Jake Churchill reyna...@gmail.com wrote:
**
I got my hands on an android 3 tablet and the same thing
protected function view_resizeHandler(event:ResizeEvent):void
{
if (widthheight)
this.currentState=landscape;
else this.currentState=portrait;
}
On Tue, Jul 3, 2012 at 6:11 AM, Nick Collins ndcoll...@gmail.com wrote:
actually listen for a RESIZE event on the view, then check if
I found out what was happening. I had a global deactivate handler (I don't
want this particular app running in the background). Apparently, this gets
called by Android when switching orientation. The whole app de-activates,
then re-activates in a new orientation. So, handling that, fixed my
Alex,
I think I have figured out what is causing the mouse disruption. I have a
background element where I display the symbol and the symbol description.
Whenever I rollover that, it makes the mouse event's position freak out.
If I set mouseChildren=false on the background elements, it fixes
4 matches
Mail list logo