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
Super Contributor
Posts: 440
Registered: ‎01-13-2011
My Device: Playbook
My Carrier: NA
Accepted Solution

Scroll Pane Error in BB example?

Hi,

 

Ive tried to implement the scroll pane example here:

 

http://www.blackberry.com/developers/docs/airapi/1.0.0/qnx/ui/listClasses/ScrollPane.html

 

But i am getting an error:

 

Property setScrollContent not found on qnx.ui.listClasses.ScrollPane...

 

Any ideas?

--------------------------------------------------------------------------------------------------
BlackBerry Apps: Instruments | ARTPAD | Piano | Drums | Xylophone
Developer
Posts: 2,462
Registered: ‎11-04-2010
My Device: Bold 9700

Re: Scroll Pane Error in BB example?

thats strange, what version of the SDK are you using? Also are you using flash builder or command line?

J. Rab (Blog) (Twitter)
--
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
Super Contributor
Posts: 440
Registered: ‎01-13-2011
My Device: Playbook
My Carrier: NA

Re: Scroll Pane Error in BB example?

0.9.1 and im using buritto...

--------------------------------------------------------------------------------------------------
BlackBerry Apps: Instruments | ARTPAD | Piano | Drums | Xylophone
Highlighted
Developer
Posts: 2,462
Registered: ‎11-04-2010
My Device: Bold 9700

Re: Scroll Pane Error in BB example?

ah ok. two things, there is a new SDK out version 0.9.3 (and also a new simulator). you can find links and instructions for it here:

 

http://us.blackberry.com/developers/tablet/adobe.jsp

 

and also the setScrollContent() method was originally addScrollContent() (from what i remember). they chagned it after the second or third SDK was updated (i lost track hah).

 

but if you are using version 0.9.1 for a specific reason, use the addScrollContent() instead. hope that helps. good luck!

J. Rab (Blog) (Twitter)
--
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
Super Contributor
Posts: 440
Registered: ‎01-13-2011
My Device: Playbook
My Carrier: NA

Re: Scroll Pane Error in BB example?

Thanks - great answer!

--------------------------------------------------------------------------------------------------
BlackBerry Apps: Instruments | ARTPAD | Piano | Drums | Xylophone