- Ok after tons of reseach and trial and error I have figured out how to make the sliding dock animation work on the storm. I have even figured out how to make multiple docks that hide to the left, right and bottom. Now what I am trying to figure out is how to make all of the docs stay visible at the same time. As it stands right now I can get one dock to show itself at a time and this required the "Focused Object Remains In Focus" box checked. I know that it is possible because I have a theme that I purchased a while back that allows both of the hidden docks to be viewed at the same time. I have attached the SVG file if anyone want to pick it apart and tell me where I went wrong. (I know that the icons are not lined up correctly on the right and left sides.) One other thing, how do you get the on screen icons to go from 80x80 to say 50x50. I have tried resizing the buttons and editing the buttons in the composer yet when it gets to the simulator the icons look like they have been trimmed with scissors instead of reducing in size.
Thanks to anyone that is willing to help me learn this,
gtstang46200211-18-09 03:09 PMLike 0 - Judging by your svg code it looks like you have 4 different layers for 4 different sets of buttons...and what I think you want to do is have all the buttons come out from different sides all at the same time?...If this IS what you want to do then all you have to do is put all the buttons on the same layer and make sure you adjust your animation code to read layer 1 (or whatever layer you put all the buttons on) instead of layer 1 layer 2 layer 3 layer 4 like you have it now...Hopefully that helps11-19-09 10:38 AMLike 0
- Judging by your svg code it looks like you have 4 different layers for 4 different sets of buttons...and what I think you want to do is have all the buttons come out from different sides all at the same time?...If this IS what you want to do then all you have to do is put all the buttons on the same layer and make sure you adjust your animation code to read layer 1 (or whatever layer you put all the buttons on) instead of layer 1 layer 2 layer 3 layer 4 like you have it now...Hopefully that helps11-19-09 04:18 PMLike 0
- Im not sure on exactly what you want to do so i will dumb it down for myself.....
You want multiple docks to have the option to slide in 1 by 1 and have them all stay on the screen (Ex.Slide one open/Tap slide 2 and the 2nd dock moves into view with out pushing slide 1 out of the frame?
Do you want a button for each to close 1 by1 and or a master button to hide all of the docks?
Hope you understand my dumb down of your question lol.11-20-09 11:53 PMLike 0 - Im not sure on exactly what you want to do so i will dumb it down for myself.....
You want multiple docks to have the option to slide in 1 by 1 and have them all stay on the screen (Ex.Slide one open/Tap slide 2 and the 2nd dock moves into view with out pushing slide 1 out of the frame?
Do you want a button for each to close 1 by1 and or a master button to hide all of the docks?
Hope you understand my dumb down of your question lol.11-22-09 10:52 AMLike 0 -
-
1 Layer for each dock. You'll need 4 areas defined as buttons to open each dock and 4 more areas, one on each dock, or main screen to use for closing each dock.
I have several themes at my site that have multiple docks and in many cases, sliding doors that open in multiple directions and sliding docks that appear once the doors open.
They can be seen here. They are towards the bottom of the page. Both NFL and custom Military and Firefighter themes.
Let me know if you need more detailed info.
Take care.12-07-09 12:07 AMLike 0 - Without looking at your svg file, sounds like you are on the right track.
1 Layer for each dock. You'll need 4 areas defined as buttons to open each dock and 4 more areas, one on each dock, or main screen to use for closing each dock.
I have several themes at my site that have multiple docks and in many cases, sliding doors that open in multiple directions and sliding docks that appear once the doors open.
They can be seen here. They are towards the bottom of the page. Both NFL and custom Military and Firefighter themes.
Let me know if you need more detailed info.
Take care.12-08-09 09:58 AMLike 0 -
Code:<animateTransform xlink:href="#Layer_2" id="_anim_OPN1" attributeName="transform" type="translate" to="360,0" dur="0.5s" fill="freeze" begin="Theme_Button_26.focusin" />
IMPORTANT. Save a backup with a differentt name or use some means to keep a copy of this code BEFORE running Export/SVG from composer. This code must be added to the END of the SVG file just prior to </svg> and it will be erased when you Export to SVG from composer. All your added code will be LOST. Copy Your written code to a separate file so when you change the Composer file and re-export it you can then copy/paste from your saved file to the new .svg file.
Good luck and let me know how its going and if you need more.
Take care.12-08-09 07:59 PMLike 0
- Forum
- BlackBerry Developers
- Developers Lounge
multiple sliding docks.
LINK TO POST COPIED TO CLIPBOARD