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 07-28-2010, 10:34 AM
CrackBerry User
Device(s): 9700 (Bold)
Carrier: AT&T/Cingular
Pin: PM me
 
Location: Philadelphia, PA
Join Date: Apr 2010
Posts: 54
Likes Received: 0
Thanked 4 Times in 4 Posts
Default Sliding Dock Fiasco

I'm literally pulling my hair out over this dock thing. Its literally driving me crazy.

Ok so I have an dock on the top that is sliding in and out via accessKeys. The first issue was that when I pressed the space bar to fly the dock out, the animation would repeat when I hit the spacebar again. I've been trying to figure out how to disable the spacebar activation once the dock is out, but then enabling it again once it has been hidden.

I solved half the issue recently. used the <set> command to set the "display" to "none" after the ESCAPE key is used to fly the dock away. However, the issue still exists with the space bar. Here is my code:

Code:
		<animateTransform xlink:href="#Top_Dock" id="_anim_l6" attributeName="transform" type="translate"
						to="0,0" dur="0.5s"  
						fill="freeze"
						begin="accessKey( )"	/>	
						
		<animateTransform xlink:href="#Top_Dock" id="_anim_d6" attributeName="transform" type="translate"
						to="0,-99" dur="0.5s"  
						fill="freeze"
						begin="accessKey(ESCAPE)	/>

		<set xlink:href="#Top_Dock" attributeName="display" to="inline" begin="_anim_l6.begin" />

		<set xlink:href="#Top_Dock" attributeName="display" to="none" begin="_anim_d6.end" />
Any help would be greatly appreciated!
Reply With Quote Tip this Post
  #2  
Old 07-28-2010, 12: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

i dont think there is a way around that.
unless you just show / hide the dock instead of sliding.. but thats not as "fun"
__________________
Reply With Quote Tip this Post
    Thread Author   #3  
Old 07-28-2010, 01:04 PM
CrackBerry User
Device(s): 9700 (Bold)
Carrier: AT&T/Cingular
Pin: PM me
 
Location: Philadelphia, PA
Join Date: Apr 2010
Posts: 54
Likes Received: 0
Thanked 4 Times in 4 Posts
Default

Ugh thats a let down.

And you're soooo right. Not as fun...
Reply With Quote Tip this Post
  #4  
Old 07-28-2010, 01:05 PM
CrackBerry Genius
Device(s): 9550 (Storm2)
Carrier: Telus
 
Join Date: Dec 2008
Posts: 1,792
Likes Received: 1
Thanked 46 Times in 16 Posts
Default

Check out your other thread, I've got an answer for you. It involves a bit of work though, but I know it's possible because I've got working prototypes of it.
__________________
Creative Director of BlingBerry Themes
iStyle - by BlingBerry Themes --- RealCal --- Super Air Hockey!
Reply With Quote Tip this Post
    Thread Author   #5  
Old 07-28-2010, 01:12 PM
CrackBerry User
Device(s): 9700 (Bold)
Carrier: AT&T/Cingular
Pin: PM me
 
Location: Philadelphia, PA
Join Date: Apr 2010
Posts: 54
Likes Received: 0
Thanked 4 Times in 4 Posts
Default

Quote:
Originally Posted by hastings View Post
Check out your other thread, I've got an answer for you. It involves a bit of work though, but I know it's possible because I've got working prototypes of it.
Just saw that actually. Thanks for the idea! Lets see if I can actually plan this out and get it to work
Reply With Quote Tip this Post
    Thread Author   #6  
Old 07-28-2010, 02:50 PM
CrackBerry User
Device(s): 9700 (Bold)
Carrier: AT&T/Cingular
Pin: PM me
 
Location: Philadelphia, PA
Join Date: Apr 2010
Posts: 54
Likes Received: 0
Thanked 4 Times in 4 Posts
Default

Here is what I came up with, if anyone is interested. Here is the link to the post in my other thread.

Show/Hide Dock Solution
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > Theme Developers   Sliding Dock Fiasco

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes