Orientation Change Detection Xoom and Flex Hero
Hello:
I am stuck, I can't seem to get my Xoom to report a screen orientation change with the app I'm developing with Flash Builder Burrito.
I have an extended view with the following code in the constructor:
this.addEventListener(StageOrientationEvent.ORIENTATION_CHANGE, change);
And then change function looks like this:
protected function change(event:StageOrientationEvent):void {
trace("change");
}
I'm not seeing this in the console when the screen rotates. I've seen many examples which use a "stage" object to listen to the event. I have tried to obtain this from the top most MXML file and still have not had any luck.
Why is this event not tiggering?