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
Contributor
Posts: 27
Registered: ‎02-17-2013
My Device: Developer-BB10
My Carrier: ---
Accepted Solution

How to move to a new page on the click of a button?

I am using actionscript to develop a simple app and I am new to app development. I don't know how to move to a new page on the click of a button. I need to return to the old page as well. Kindly help me. The deadline for submission is nearing. Smiley Sad

Highlighted
Developer
Posts: 172
Registered: ‎01-17-2011
My Device: 9500 series
My Carrier: Airtel

Re: How to move to a new page on the click of a button?

Welcome to Supprt Forums. 

 

If you are creating your view by extending from Sprite class , you need to use addchild() , to remove screen use removechild().

 

// to add
var sp : Sprite = new Sprite() ; 
addChild(sp) ;

//to remove
removeChild(sp) ; 

 

Contributor
Posts: 27
Registered: ‎02-17-2013
My Device: Developer-BB10
My Carrier: ---

Re: How to move to a new page on the click of a button?

Thank you very very very much!!!!!