Skip navigation
Currently Being Moderated

Control of landscape  - portrait

Dec 21, 2012 11:42 PM

Hello everyone!


I'm building an application in Flex 4.6 Mobile ....


in this application I would like to control the display of a "list" ...


ie I would like to see the list when the tablet is in landscape that is horizontal and when the tablet is in portrait ie vertically I would make invisible ....


how do do??

  • Currently Being Moderated
    Dec 31, 2012 12:09 AM   in reply to rabbit78

    You can use the event StageOrientationEvent.ORIENTATION_CHANGING or StageOrientationEvent.ORIENTATION_CHANGE on stage.and change your component's visibility  in the handler.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points