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

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

New Contributor
Posts: 5
Registered: ‎03-20-2011
My Device: Playbook
My Carrier: None
Accepted Solution

Scrollpane broke on device

Hey there,


I am having some trouble with the scrollpane UI element. I have created a sprite that is larger than the scrollpane as the content, so the pane will scroll. The problem is that when I test on the simulator everything works perfectly, however, when I test on the device the application locks up as soon as the pane is touched. Is there some bug witht he scrollpane I am unaware of? I have searched the forums for similar situations however I cannot seem to find a solution. Here is some code.


content = new Sprite();
content.graphics.beginFill( 0xDDDDDD );
content.graphics.drawRect( 0, 0, 557, 500 );

contentPane = new ScrollPane();
contentPane.x = WIDTH * 0.3 + 80;  // WIDTH = 1024
contentPane.y = 40;
contentPane.width = 557;
contentPane.height = HEIGHT - 80; // HEIGHT = 540
contentPane.scrollDirection = ScrollDirection.VERTICAL;
contentPane.setScrollContent( content );



Any help would be appreciated.

New Contributor
Posts: 5
Registered: ‎03-20-2011
My Device: Playbook
My Carrier: None

Re: Scrollpane broke on device

Hey all,


I figured it out. I had a relatively large display structure, and the application was basically getting bogged down from the event structure. As events were being passed through all of the display events. Here are the two references used to determine the issue.