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 09-12-2010, 08:02 AM
CrackBerry Addict
Device(s): 9550 (Storm2)
Carrier: Verizon
 
Join Date: Feb 2009
Posts: 884
Likes Received: 0
Thanked 4 Times in 4 Posts
Default A couple svg questions

1.) Where/how in the svg do you control the initial state of a focus icon?

2.) I have one focus icon that takes just a little longer to display than all the others in my theme. I have parsed the svg file yet I cannot find any difference in that theme button's animation versus all the rest. I notice that there are about 36 different animation sequences for focusin, focusout, and activate. Why are there so many different animation sequences generated by composer?

Thanks in advance.....
__________________
Strange that the word "Gullible" is not in the dictionary.
<--Storm2 9550 OS: 5.0.0.1015-->
Reply With Quote Tip this Post
  #2  
Old 09-12-2010, 08:42 AM
CrackBerry Abuser
Device(s): Samsung Fascinate & Bold 9650
Carrier: VZW
Pin: Ask if you want it!
 
Location: Central NJ
Join Date: Nov 2008
Posts: 477
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

You can hide that icon at frame one in the timeline actions menu in composer. Click the closed eye and pick your focus icon, click the closed eye again, pick ur next focus icon from the drop down... Etc etc..

You have to change it to an animation first though by right clicking the image and selecting convert to animation.

Posted from my CrackBerry at wapforums.crackberry.com
Reply With Quote Tip this Post
    Thread Author   #3  
Old 09-12-2010, 08:46 AM
CrackBerry Addict
Device(s): 9550 (Storm2)
Carrier: Verizon
 
Join Date: Feb 2009
Posts: 884
Likes Received: 0
Thanked 4 Times in 4 Posts
Default

Thanks for the reply. I did do that to hide the initial state. I just don't see where in the svg,
generated by composer, that gets written.

Posted from my CrackBerry at wapforums.crackberry.com
Reply With Quote Tip this Post
  #4  
Old 09-12-2010, 09:43 AM
CrackBerry Abuser
Device(s): Samsung Fascinate & Bold 9650
Carrier: VZW
Pin: Ask if you want it!
 
Location: Central NJ
Join Date: Nov 2008
Posts: 477
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

I'd say do a search for begin="0"

Posted from my CrackBerry at wapforums.crackberry.com
Reply With Quote Tip this Post
    Thread Author   #5  
Old 09-12-2010, 06:37 PM
CrackBerry Addict
Device(s): 9550 (Storm2)
Carrier: Verizon
 
Join Date: Feb 2009
Posts: 884
Likes Received: 0
Thanked 4 Times in 4 Posts
Default

Quote:
Originally Posted by mastamoon View Post
I'd say do a search for begin="0"

Posted from my CrackBerry at wapforums.crackberry.com
Thanks again for that. However, there is nothing related to the focus icon with that listed.....This one really has me stumped!
__________________
Strange that the word "Gullible" is not in the dictionary.
<--Storm2 9550 OS: 5.0.0.1015-->
Reply With Quote Tip this Post
  #6  
Old 09-12-2010, 06:38 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

Composer adds tons of unneeded code. I found that coding it from scratch is much cleaner and smaller filesize

Posted from my CrackBerry at wapforums.crackberry.com
Reply With Quote Tip this Post
    Thread Author   #7  
Old 09-13-2010, 08:53 AM
CrackBerry Addict
Device(s): 9550 (Storm2)
Carrier: Verizon
 
Join Date: Feb 2009
Posts: 884
Likes Received: 0
Thanked 4 Times in 4 Posts
Default

Thanks for everyone's input on this. I was able to hand code what I needed. I'm not adept enough yet to eliminate too much of Composer's work but I will figure out what I can trim out over time.....thanks again.
__________________
Strange that the word "Gullible" is not in the dictionary.
<--Storm2 9550 OS: 5.0.0.1015-->
Reply With Quote Tip this Post
  #8  
Old 09-13-2010, 12:16 PM
CrackBerry Abuser
Device(s): Samsung Fascinate & Bold 9650
Carrier: VZW
Pin: Ask if you want it!
 
Location: Central NJ
Join Date: Nov 2008
Posts: 477
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Now that I looked through my SVG for this focus icon on/off thing, I see what its doing and will be much easier to do this manually than in composer. No turning focus icons into animations or anything like that..

Code:
<set xlink:href="#focus_png_1" attributeName="display" to="none" begin="0"/>
<set xlink:href="#focus_png_1" attributeName="display" to="inline" begin="Theme_Button_3.focusin"/>
<set xlink:href="#focus_png_1" attributeName="display" to="none" begin="Theme_Button_3.focusout"/>

<set xlink:href="#focus_png_1_copy" attributeName="display" to="none" begin="0"/>
<set xlink:href="#focus_png_1_copy" attributeName="display" to="inline" begin="Theme_Button_3_copy.focusin"/>
<set xlink:href="#focus_png_1_copy" attributeName="display" to="none" begin="Theme_Button_3_copy.focusout"/>
Makes focus image turn on/off on focus in/out.. also hides the icon when the theme is first loaded (frame 1, begin="0").
__________________
Now running on a VZW Samsung Fasinate! I like it but am missing my 9650 also. 2 different animals!

Thank You VZW for my free BNIB Bold 9650! You rock! Now running OS6/BB6.. 6.0.0.222! Nice!

Download my themes - OS6ish and Redux

@mastamoon
Reply With Quote Tip this Post
    Thread Author   #9  
Old 09-13-2010, 12:22 PM
CrackBerry Addict
Device(s): 9550 (Storm2)
Carrier: Verizon
 
Join Date: Feb 2009
Posts: 884
Likes Received: 0
Thanked 4 Times in 4 Posts
Default

That's what I discovered too. I wasn't too certain if I could dispose of all the animate stuff but I think you can so longs as you don't want to do any fade effects for the focus icons.

Posted from my CrackBerry at wapforums.crackberry.com
Reply With Quote Tip this Post
  #10  
Old 09-13-2010, 12:22 PM
CrackBerry Abuser
Device(s): Samsung Fascinate & Bold 9650
Carrier: VZW
Pin: Ask if you want it!
 
Location: Central NJ
Join Date: Nov 2008
Posts: 477
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Also comparing my manual method vs using composer to do it, saved 12 lines of code in the SVG. Theme I am working on has 20 buttons with focus icons.. so if you save 6 lines of code for every button.. that's 120 lines of code difference. Substantial.
__________________
Now running on a VZW Samsung Fasinate! I like it but am missing my 9650 also. 2 different animals!

Thank You VZW for my free BNIB Bold 9650! You rock! Now running OS6/BB6.. 6.0.0.222! Nice!

Download my themes - OS6ish and Redux

@mastamoon
Reply With Quote Tip this Post
  #11  
Old 09-13-2010, 12:24 PM
CrackBerry Abuser
Device(s): Samsung Fascinate & Bold 9650
Carrier: VZW
Pin: Ask if you want it!
 
Location: Central NJ
Join Date: Nov 2008
Posts: 477
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by jonkjon View Post
That's what I discovered too. I wasn't too certain if I could dispose of all the animate stuff but I think you can so longs as you don't want to do any fade effects for the focus icons.

Posted from my CrackBerry at wapforums.crackberry.com
So you can pull all of the:

Code:
<animate xlink:href="#img_31_1_36" id="_anim_57" attributeName="visibility"
        values="hidden;hidden"
        keyTimes="0;1"
        dur="0.45s" fill="freeze"
    />
    <animate xlink:href="#img_21_1_35" id="_anim_53" attributeName="visibility"
        values="hidden;hidden"
        keyTimes="0;1"
        dur="0.45s" fill="freeze"
    />
    <animate xlink:href="#img_11_1_34" id="_anim_49" attributeName="visibility"
        values="hidden;hidden"
        keyTimes="0;1"
        dur="0.45s" fill="freeze"
code out also without any detrimental effects? Unless of course your doing some sort of fade in/out.
__________________
Now running on a VZW Samsung Fasinate! I like it but am missing my 9650 also. 2 different animals!

Thank You VZW for my free BNIB Bold 9650! You rock! Now running OS6/BB6.. 6.0.0.222! Nice!

Download my themes - OS6ish and Redux

@mastamoon
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > Theme Developers   A couple svg questions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes