Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Adobe AIR Development

Reply
Contributor
KVinS
Posts: 29
Registered: ‎02-10-2012
My Carrier: Megafon

Entry-Point-Orientation

In the manifesto there is a line:
Entry-Point-Orientation: portrait
Where orientation change? I want the application to run in landscape mode.

Please use plain text.
Contributor
KVinS
Posts: 29
Registered: ‎02-10-2012
My Carrier: Megafon

Re: Entry-Point-Orientation

My English level is low. I can not use search. I'm sorry.
Please use plain text.
Developer
peter9477
Posts: 5,616
Registered: ‎12-08-2010
My Carrier: none

Re: Entry-Point-Orientation

This comes from the "application descriptor" file, often called application.xml but sometimes named for your app, like MyCoolApp-app.xml.

 

There's a section in an <initialWindow> element that looks something like this:

    <initialWindow>
        <content>MyCoolApp.swf</content>
        <visible>true</visible>
        <autoOrients>false</autoOrients>
        <aspectRatio>landscape</aspectRatio>
    </initialWindow>

You can remove <aspectRatio> and change <autoOrients> to true, or make other changes. 

 

See the AIR documentation for more.


Peter Hansen -- (PlayBook and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.
Contributor
KVinS
Posts: 29
Registered: ‎02-10-2012
My Carrier: Megafon

Re: Entry-Point-Orientation

[ Edited ]

If I use landstsape
I get this:

t

Please use plain text.
Developer
jtegen
Posts: 6,145
Registered: ‎10-27-2010
My Carrier: AT&T

Re: Entry-Point-Orientation

How is your stage being defined?
Please use plain text.
Contributor
KVinS
Posts: 29
Registered: ‎02-10-2012
My Carrier: Megafon

Re: Entry-Point-Orientation

1024x600
Please use plain text.
Developer
jtegen
Posts: 6,145
Registered: ‎10-27-2010
My Carrier: AT&T

Re: Entry-Point-Orientation

What happens if you set
<aspectRatio>landscape</aspectRatio>
to
<aspectRatio>portrait</aspectRatio>
?
Please use plain text.
Contributor
KVinS
Posts: 29
Registered: ‎02-10-2012
My Carrier: Megafon

Re: Entry-Point-Orientation

<aspectRatio>landscape</
aspectRatio>
Please use plain text.
Contributor
KVinS
Posts: 29
Registered: ‎02-10-2012
My Carrier: Megafon

Re: Entry-Point-Orientation

Full screen and portrait oreintation.
Please use plain text.
Developer
jtegen
Posts: 6,145
Registered: ‎10-27-2010
My Carrier: AT&T

Re: Entry-Point-Orientation

I meant what happens if you set it to portrait.
Please use plain text.