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

Posts: 21
Registered: ‎01-24-2010
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?

Please use plain text.
Posts: 438
Registered: ‎10-25-2010

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).

Please use plain text.