AIR event.afterOrientation broke in iOS 6.1 (simulator only)


i've noticed air not responding "afterorientation" property stageorientation events in ios simulator sdk 6.1. (was fine ios simulator target of ios sdk 5.1.)

 

fortunately, seems working (so far) on actual 6.1 device, although nice if figure out how working on simulator testing.

 

anyone else notice this? suggestions?

 

thanks.

 

--------------------------

ps. specific code is:

 

stage.addeventlistener(stageorientationevent.orientation_changing, orientationchanging);

 

function orientationchanging(event:stageorientationevent):void

{

 

if (event.afterorientation == stageorientation.rotated_left || event.afterorientation == stageorientation.rotated_right)

{

trace("landscape");

}

 

}

 

message edited by: gtr --- added code sample

can please elaborate mean not responding afterorientation property? not printing correct value or apps hangs after use property?



More discussions in AIR Development


adobe

Comments

Popular posts from this blog

Thread: poor font display

Remove survey pop up - Joomla! Forum - community, help and support

Error when I try to record application simulation in Adobe Presenter 8