
12-14-2010, 07:30 PM
|
| | CrackBerry Abuser Device(s): 9900 Carrier: Cincinnati Bell Pin: 28842060 | | Location: Cincinnati, OH Join Date: Aug 2008 Posts: 280 Likes Received: 17
Thanked 12 Times in 9 Posts
| |
Here is what you need to add to your code for each icon in the hidden dock.
<animateTransform xlink:href="#LayerName" id="_l1" attributeName="transform" type="translate" to="0,0" dur="0.5s" fill="freeze" begin="IconName.focusin" />
<animateTransform xlink:href="#LayerName" id="_d1" attributeName="transform" type="translate" to="0,0" dur="0.5s" fill="freeze" begin="IconName.focusout" />
LayerName = Name of layer where your icons are.
IconName = Name of icon ie.Messages, Messenger, etc.
where it says to="0,0" this is your x and y axis.
If you want the icons to slide up from the bottom 60 pixels, your focusin to="0,0" would become to="0,-60".
If you want them to slide down from the top, to="0,60"
If you want them to slide in from left, to="60,0"
If you want them to slide in from right, to="-60,0"
If it is a hidden dock, then you can leave the to="0,0" for focusout just like it is.
|