Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > Theme Developers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 06-01-2010, 01:27 PM
CrackBerry Genius
Device(s): iPhone 4s
Carrier: Verizon
 
Join Date: Nov 2009
Posts: 2,310
Likes Received: 88
Thanked 169 Times in 112 Posts
Default Non Touchscreen Scrolling dock?

I have a theme i am creating for the S2 i on the left and right side of the dock... touch it and the dock switches to the next 4 icons. 3 docks... no animation, just next 4 icons appear.. (12 in all)

How do I do this for a non touchscreen? like a curve or bold.. etc... is there a trick to it? I know I could use a key on the keyboard, but that seems like a pain -

I want it so as the scroll to the left or right it will switch? will that work the same (onfocusin?) any special order of icons/buttons?

Lol lots of questions!

THANKS!
__________________
Reply With Quote Tip this Post
  #2  
Old 06-01-2010, 03:35 PM
CrackBerry Master
Device(s): 9530 (Storm)
Carrier: Verizon
Pin: 306F0656
 
Location: Lockport Ny
Join Date: May 2009
Posts: 1,049
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

we usually use a button that you have to click because people over scroll a lot on trackball/pad devices.
__________________
AHazDesigns.com For Tutorials
Reply With Quote Tip this Post
    Thread Author   #3  
Old 06-01-2010, 05:58 PM
CrackBerry Genius
Device(s): iPhone 4s
Carrier: Verizon
 
Join Date: Nov 2009
Posts: 2,310
Likes Received: 88
Thanked 169 Times in 112 Posts
Default

You mean like a key on the keypad? Or click with the trackball? If its a key is there a common choice for left and right?
Thanks!

Posted from my CrackBerry at wapforums.crackberry.com
Reply With Quote Tip this Post
  #4  
Old 06-07-2010, 09:54 AM
berrygoodthemes
Device(s): 9900 (Bold)
Carrier: O2
Pin: the tail on the donkey
 
Location: Blackpool UK
Join Date: Nov 2009
Posts: 795
Likes Received: 7
Thanked 27 Times in 22 Posts
Default

sliding screen is simple with a tweek of the hidden dock animation coding which is found in the samples folder of theme builder.
instead of the coding backing the dock go up you can make it so it goes across i.e. switches from screen to screen


<animateTransform xlink:href="#Layer1" id="_anim_l1" attributeName="transform" type="translate"
to="485,0" dur="0.5s"
fill="freeze"
begin="Theme_Button_7.focusin" />

if you have 6 icons across the base of the screen and then 6 across the base of the screen but off the screen if you know what i mean, then the above code will slide the 6 icons which are off screen - on screen when you scroll to button 7.
copy this code for each of the icons on each side of the sliding screen you want to use at the very end of the svg coding.

if sliding to the right then use -485 instead of 485

this will work on all 480x screen res, code is different for smaller res screens.

is quicker and easier than adding more hidden buttons.
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > Theme Developers   Non Touchscreen Scrolling dock?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes