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 08-28-2011, 06:25 PM
CrackBerry User
Device(s): Torch 9800
 
Location: Canada
Join Date: Jun 2011
Posts: 95
Likes Received: 2
Thanked 5 Times in 5 Posts
Default Having issues creating a hidden today...

Here's my setup:

Creating a theme for torch 9800 with sliding/hidden docks and a hidden today.

When I created the hidden docks svg in composer, I also created a layer with a "Theme_Button_13" on it which did nothing. I just wanted in there and defined in the svg because I was hoping to use it for my hidden today.

I added my hidden today code as follows:

Code:
<set xlink:href="#hs0_line" attributeName="display" to="none"   begin="0"/>
<set xlink:href="#hs0" attributeName="display" to="none"   begin="0"/>
<set xlink:href="#calendar1hotspot" attributeName="display" to="none"   begin="0"/>
<set xlink:href="#calendar2hotspot" attributeName="display" to="none"   begin="0"/>
<set xlink:href="#hs1_line" attributeName="display" to="none"   begin="0"/>
<set xlink:href="#hs1" attributeName="display" to="none"   begin="0"/>
<set xlink:href="#messages1hotspot" attributeName="display" to="none"   begin="0"/>
<set xlink:href="#messages2hotspot" attributeName="display" to="none"   begin="0"/>
<set xlink:href="#hs2_line" attributeName="display" to="none"   begin="0"/>
<set xlink:href="#hs2" attributeName="display" to="none"   begin="0"/>
<set xlink:href="#sms1hotspot" attributeName="display" to="none"   begin="0"/>
<set xlink:href="#sms2hotspot" attributeName="display" to="none"   begin="0"/>

<set xlink:href="#hs0_line" attributeName="display" to="inline"   begin="Theme_Button_13.activate"/>
<set xlink:href="#hs0" attributeName="display" to="inline"   begin="Theme_Button_13.activate"/>
<set xlink:href="#calendar1hotspot" attributeName="display" to="inline"   begin="Theme_Button_13.activate"/>
<set xlink:href="#calendar2hotspot" attributeName="display" to="inline"   begin="Theme_Button_13.activate"/>
<set xlink:href="#hs1_line" attributeName="display" to="inline"   begin="Theme_Button_13.activate"/>
<set xlink:href="#hs1" attributeName="display" to="inline"   begin="Theme_Button_13.activate"/>
<set xlink:href="#messages1hotspot" attributeName="display" to="inline"   begin="Theme_Button_13.activate"/>
<set xlink:href="#messages2hotspot" attributeName="display" to="inline"   begin="Theme_Button_13.activate"/>
<set xlink:href="#hs2_line" attributeName="display" to="inline"   begin="Theme_Button_13.activate"/>
<set xlink:href="#hs2" attributeName="display" to="inline"   begin="Theme_Button_13.activate"/>
<set xlink:href="#sms1hotspot" attributeName="display" to="inline"   begin="Theme_Button_13.activate"/>
<set xlink:href="#sms2hotspot" attributeName="display" to="inline"   begin="Theme_Button_13.activate"/>

<set xlink:href="#hs0_line" attributeName="display" to="none"   begin="accesskey(Escape)"/>
<set xlink:href="#hs0" attributeName="display" to="none"   begin="accesskey(Escape)"/>
<set xlink:href="#calendar1hotspot" attributeName="display" to="none"   begin="accesskey(Escape)"/>
<set xlink:href="#calendar2hotspot" attributeName="display" to="none"   begin="accesskey(Escape)"/>
<set xlink:href="#hs1_line" attributeName="display" to="none"   begin="accesskey(Escape)"/>
<set xlink:href="#hs1" attributeName="display" to="none"   begin="accesskey(Escape)"/>
<set xlink:href="#messages1hotspot" attributeName="display" to="none"   begin="accesskey(Escape)"/>
<set xlink:href="#messages2hotspot" attributeName="display" to="none"   begin="accesskey(Escape)"/>
<set xlink:href="#hs2_line" attributeName="display" to="none"   begin="accesskey(Escape)"/>
<set xlink:href="#hs2" attributeName="display" to="none"   begin="accesskey(Escape)"/>
<set xlink:href="#sms1hotspot" attributeName="display" to="none"   begin="accesskey(Escape)"/>
<set xlink:href="#sms2hotspot" attributeName="display" to="none"   begin="accesskey(Escape)"/>
When I go to manually compile, I get the following errors:

Quote:
>>> Transcoding homescreen.svg.
Warning: Only first <foreignObject> (if it exists) from <switch> element named "
$unnamed$" will be accepted. All subsequent <foreignObject>s and other children
will be ignored.
Error: The value "accesskey(Escape)" for attribute "begin" of element <set> name
d "$unnamed$" is invalid.
Error: The value "accesskey(Escape)" for attribute "begin" of element <set> name
d "$unnamed$" is invalid.
Error: The value "accesskey(Escape)" for attribute "begin" of element <set> name
d "$unnamed$" is invalid.
Error: The value "accesskey(Escape)" for attribute "begin" of element <set> name
d "$unnamed$" is invalid.
Error: The value "accesskey(Escape)" for attribute "begin" of element <set> name
d "$unnamed$" is invalid.
Error: The value "accesskey(Escape)" for attribute "begin" of element <set> name
d "$unnamed$" is invalid.
Error: The value "accesskey(Escape)" for attribute "begin" of element <set> name
d "$unnamed$" is invalid.
Error: The value "accesskey(Escape)" for attribute "begin" of element <set> name
d "$unnamed$" is invalid.
Error: The value "accesskey(Escape)" for attribute "begin" of element <set> name
d "$unnamed$" is invalid.
Error: The value "accesskey(Escape)" for attribute "begin" of element <set> name
d "$unnamed$" is invalid.
Error: The value "accesskey(Escape)" for attribute "begin" of element <set> name
d "$unnamed$" is invalid.
Error: The value "accesskey(Escape)" for attribute "begin" of element <set> name
d "$unnamed$" is invalid.
Warning: Only first <foreignObject> (if it exists) from <switch> element named "
$unnamed$" will be accepted. All subsequent <foreignObject>s and other children
will be ignored.
Warning: Only first <foreignObject> (if it exists) from <switch> element named "
$unnamed$" will be accepted. All subsequent <foreignObject>s and other children
will be ignored.
Warning: The font-family "BBAlpha Sans Condensed" used by the element <text> nam
ed "wifi_bullets" may not be available on some devices.
Warning: Only first <foreignObject> (if it exists) from <switch> element named "
$unnamed$" will be accepted. All subsequent <foreignObject>s and other children
will be ignored.
Error: The element <set> named "$unnamed$" has a reference to "Theme_Button_13"
which is not found.
Error: The element <set> named "$unnamed$" has a reference to "Theme_Button_13"
which is not found.
Error: The element <set> named "$unnamed$" has a reference to "Theme_Button_13"
which is not found.
Error: The element <set> named "$unnamed$" has a reference to "Theme_Button_13"
which is not found.
Error: The element <set> named "$unnamed$" has a reference to "Theme_Button_13"
which is not found.
Error: The element <set> named "$unnamed$" has a reference to "Theme_Button_13"
which is not found.
Error: The element <set> named "$unnamed$" has a reference to "Theme_Button_13"
which is not found.
Error: The element <set> named "$unnamed$" has a reference to "Theme_Button_13"
which is not found.
Error: The element <set> named "$unnamed$" has a reference to "Theme_Button_13"
which is not found.
Error: The element <set> named "$unnamed$" has a reference to "Theme_Button_13"
which is not found.
Error: The element <set> named "$unnamed$" has a reference to "Theme_Button_13"
which is not found.
Error: The element <set> named "$unnamed$" has a reference to "Theme_Button_13"
which is not found.
Warning: 5 warnings and 0 messages were generated during processing of this file
.
Error: The SVG file "homescreen.svg" cannot be compiled.
24 error(s) were encountered.
Soooo...apparently "Escape" is not the hotkey code for the BB escape button, and I also tried "ESCAPE" with the same results. Also, it doesnt like my "Theme_Button_13" which is referenced earlier in the svg:


Code:
<g id="HC-Layer_6">
	<!-- pz:tag type="layer" -->
<g id="HC-Theme_Button_13" transform="translate(-35 -190)">
	<!-- pz:tag type="button" -->
<g id="HC-Theme_Button_13-Contents">
	<!-- pz:tag type="layer" -->
<g id="HC-tabImage_143">
<image height="68" id="HC-img_1_3_344" width="68" x="0" xlink:href="HCImage00002.png" y="0"/>
<image height="68" id="HC-img_11_3_345" visibility="hidden" width="68" x="0" xlink:href="HCImage00002.png" y="0"/>
<image height="68" id="HC-img_21_3_346" visibility="hidden" width="68" x="0" xlink:href="HCImage00002.png" y="0"/>
<image height="68" id="HC-img_31_3_347" visibility="hidden" width="68" x="0" xlink:href="HCImage00002.png" y="0"/>
</g>
<g id="HC-tabFocusImage_145">
<image height="26" id="HC-img_1_3_348" visibility="hidden" width="120" x="-26" xlink:href="HCImage00001.png" y="21"/>
<image height="26" id="HC-img_11_3_349" visibility="hidden" width="120" x="-26" xlink:href="HCImage00001.png" y="21"/>
<image height="26" id="HC-img_21_3_350" visibility="hidden" width="120" x="-26" xlink:href="HCImage00001.png" y="21"/>
<image height="26" id="HC-img_31_3_351" visibility="hidden" width="120" x="-26" xlink:href="HCImage00001.png" y="21"/>
</g>
<g id="HC-normalImage_147">
<image height="26" id="HC-img_1_3_352" width="120" x="-26" xlink:href="HCImage00001.png" y="21"/>
<image height="26" id="HC-img_11_3_353" visibility="hidden" width="120" x="-26" xlink:href="HCImage00001.png" y="21"/>
<image height="26" id="HC-img_21_3_354" visibility="hidden" width="120" x="-26" xlink:href="HCImage00001.png" y="21"/>
<image height="26" id="HC-img_31_3_355" visibility="hidden" width="120" x="-26" xlink:href="HCImage00001.png" y="21"/>
</g>
<g id="HC-focusImage_149">
<image height="26" id="HC-img_1_3_356" visibility="hidden" width="120" x="-26" xlink:href="HCImage00000.png" y="21"/>
<image height="26" id="HC-img_11_3_357" visibility="hidden" width="120" x="-26" xlink:href="HCImage00000.png" y="21"/>
<image height="26" id="HC-img_21_3_358" visibility="hidden" width="120" x="-26" xlink:href="HCImage00000.png" y="21"/>
<image height="26" id="HC-img_31_3_359" visibility="hidden" width="120" x="-26" xlink:href="HCImage00000.png" y="21"/>
</g>
</g>
</g>
</g>
All those image references are just the dif images for Theme_Button_13 (normalimage, focusimage, tabfocusimage, and tabimage) that were added into the svg through composer.

Sooo, anyone have any advice or help?

Thx!
Reply With Quote Tip this Post
    Thread Author   #2  
Old 08-28-2011, 07:07 PM
CrackBerry User
Device(s): Torch 9800
 
Location: Canada
Join Date: Jun 2011
Posts: 95
Likes Received: 2
Thanked 5 Times in 5 Posts
Default

I should also add that when I do the permissions trick to get the svgs to alter, the cod its producing is around 1.9mb....I add in my hidden today code, and also some code for an animated homescreen (the images for it should account for another 2mb) but the cod after the manual compile ends up being 8.4mb....when it should only be arounf 4mb (1.9 +2mb). I know that the cod from the manual compile isnt really a valid/working thm since its failing while transcoding the homescreen.svg...but what the ****...thats huge.
Reply With Quote Tip this Post
    Thread Author   #3  
Old 08-28-2011, 09:09 PM
CrackBerry User
Device(s): Torch 9800
 
Location: Canada
Join Date: Jun 2011
Posts: 95
Likes Received: 2
Thanked 5 Times in 5 Posts
Default

Ok, I realized half the problem. The button I created to activate my hidden today was originally named Theme_Button_13.....and TB decided to rename it HC-Theme_Button_13. So when I went searching for Theme_Button_13 in my svg, yup it was there and didnt understand why it was telling me it wasnt.

Still trying to figure out what the hotkey code for the escape button is....and why manually compiling the cod is making it 2x the size it should be.
Reply With Quote Tip this Post
    Thread Author   #4  
Old 08-28-2011, 09:25 PM
CrackBerry User
Device(s): Torch 9800
 
Location: Canada
Join Date: Jun 2011
Posts: 95
Likes Received: 2
Thanked 5 Times in 5 Posts
Default

Ok....I found out that the reason that the output cod filesize was so big was that I had a bunch of frame images in my source directory that were for a lock screen animation that I decided not to incorporate. I didnt code the animation into the lockscreen.svg so I figured that it wouldnt do anything with the lockscreen animation images during the transcoding....I thought it would just ignore them, I was wrong. Apparently it will take EVERYTHING that is in your source directory when compiling, whether code calls for it or not.

Still stumped on the hotkey code for the escape button. Ive tried "ESCAPE", "Escape", "Esc", "esc, "escape", and "Work you mother f-----"...none of which are the right code.
Reply With Quote Tip this Post
  #5  
Old 08-29-2011, 01:46 PM
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

accessKey(ESCAPE) is what you need - needs to be capital K and capital escape

if your using the svg for landscape as well it wont work as H1 etc arnt h1 in landscape
Reply With Quote Tip this Post
Thanked by Jaded04 (08-29-2011)
    Thread Author   #6  
Old 08-29-2011, 10:15 PM
CrackBerry User
Device(s): Torch 9800
 
Location: Canada
Join Date: Jun 2011
Posts: 95
Likes Received: 2
Thanked 5 Times in 5 Posts
Default

Ugh...capital K. I knew that too...damned syntax. Thanks, works now!!
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > Theme Developers   Having issues creating a hidden today...

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes