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


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.


Reply
Highlighted
Regular Contributor
Posts: 50
Registered: ‎02-20-2011
My Device: Playbook (sim)
My Carrier: ATT
Accepted Solution

how do i add a slider in a mxml file??

i cant seem to add a slider to my .mxml file... when using addChild() it seems to not work and trying to manually add it to the mxml using the same method as say a button also does not work... any help?

My PlayBook Apps -------- My Apps
Developer
Posts: 2,462
Registered: ‎11-04-2010
My Device: Bold 9700

Re: how do i add a slider in a mxml file??

hey robert,

 

this thread can probably help you out with that:

 

http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/ToggleSwitch-in-Flex/m-p/797365/h...

 

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
Regular Contributor
Posts: 50
Registered: ‎02-20-2011
My Device: Playbook (sim)
My Carrier: ATT

Re: how do i add a slider in a mxml file??

wow thanks! always reliable!

My PlayBook Apps -------- My Apps
Regular Contributor
Posts: 50
Registered: ‎02-20-2011
My Device: Playbook (sim)
My Carrier: ATT

Re: how do i add a slider in a mxml file??

hmmm it all works except when i try to implement

 

 

 

 

private function sliderChange(event:SliderEvent):void
			{
			
			
			}

 

 

 

it gives me a 

"Type was not found or was not a compile-time constantSmiley FrustratedliderEvent."

do u know how to make this eventhandler work?

My PlayBook Apps -------- My Apps
Developer
Posts: 2,462
Registered: ‎11-04-2010
My Device: Bold 9700

Re: how do i add a slider in a mxml file??

hey robert,

 

did you remember to import SliderEvent class?

 

 

import qnx.ui.events.SliderEvent;

 

hope thats it. 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
Regular Contributor
Posts: 50
Registered: ‎02-20-2011
My Device: Playbook (sim)
My Carrier: ATT

Re: how do i add a slider in a mxml file??

wow that was it!! thanks! i had

 

import qnx.ui.events.SliderEvent.*;

 

haha oops! im so used to using .*;

My PlayBook Apps -------- My Apps