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.

inside custom component

Adobe AIR Development

Reply
Highlighted
Developer
Posts: 21
Registered: ‎01-24-2010
My Device: Bold 9700
My Carrier: Orange
Accepted Solution

Creating seperate screens

When it comes to desktop AIR development you can easily split your UI into seperate views and create windows or screens.

 

I have been trying to create an application with multiple screens for the PlayBook however my little actionscript/flash knowledge is letting me down.

 

For example, my application could have a screen for settings and another screen that displays some data. This is a relatively simple task with Java BB development, just subclass a screen class and push/pop from the display stack.

 

Has anyone else successfully managed to create an application with multiple screens using AIR?

Developer
Posts: 439
Registered: ‎10-25-2010
My Device: Not Specified

Re: Creating seperate screens

[ Edited ]

You can do the same thing in AS, a "screen" can be any DisplayObjectContainer, usualy a Sprite, and then you can stage.addChild(sprite) or stage.removeChild(sprite).