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 11-04-2010, 07:21 PM
CrackBerry User
Device(s): 9800 (Torch)
Carrier: Vodafone
 
Join Date: Feb 2009
Posts: 11
Likes Received: 0
Thanked 0 Times in 0 Posts
Default Undocumented SVG Objects - Help Please ...

Help Please !!!

Code:
<g id="messages">
<set xlink:href="#hs0_line" attributeName="display" to="none" begin="0"/>
<set xlink:href="#hs0" 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="#hs0_line" attributeName="display" to="none" begin="accessKey(z)"/>
<set xlink:href="#hs0" attributeName="display" to="none" begin="accessKey(z)"/>
<set xlink:href="#messages1hotspot" attributeName="display" to="none" begin="accessKey(z)"/>
<set xlink:href="#messages2hotspot" attributeName="display" to="none" begin="accessKey(z)"/>

<set xlink:href="#hs0_line" attributeName="display" to="inline" begin="accessKey(x)"/>
<set xlink:href="#hs0" attributeName="display" to="inline" begin="accessKey(x)"/>
<set xlink:href="#messages1hotspot" attributeName="display" to="inline" begin="accessKey(x)"/>
<set xlink:href="#messages2hotspot" attributeName="display" to="inline" begin="accessKey(x)"/>
</g>

Every time I try to load the SVG file in Theme Builder, I get:

Duration is not defined
Duration is not defined
Duration is not defined
Duration is not defined
Duration is not defined
Duration is not defined
Duration is not defined
Duration is not defined
Duration is not defined
Duration is not defined
Duration is not defined
Duration is not defined

One for every line of code. Someone help please! I am using pretty much the same code that others apparently are using without issue. I don’t get it.
Reply With Quote Tip this Post
  #2  
Old 11-04-2010, 07:55 PM
CrackBerry Abuser
Device(s): 9550 (Storm2)
Carrier: Verizon
Pin: PM me
 
Location: Michigan
Join Date: Feb 2009
Posts: 202
Likes Received: 8
Thanked 15 Times in 14 Posts
Default

ignore the errors and export it to a device or simulator and see if you get any export errors, if you dont, it probably will work. The only problem could be with "#hs0_line" the 0 represents the today icons that you placed into theme builder, if you put one in there then deleted it etc. etc. this number will be different.
__________________
Check out my themes | Reflect7 Carbon |!Aspire | Prestige | Refresh | Default EX/Plus | HERE


Give my website a peek too!

Rockin' the Bold 9650 and Storm 2 - there's a 8530 lying around here somewhere as well.
Reply With Quote Tip this Post
  #3  
Old 11-05-2010, 08:56 AM
CrackBerry Abuser
Device(s): 9800 (Torch)
Carrier: AT&T/Cingular
 
Join Date: Aug 2008
Posts: 121
Likes Received: 0
Thanked 6 Times in 1 Post
Default

yea, ignore the errors. I pretty much get these all the time and it has never affected my theme. What will wreck your theme is if you get an error saying "homescreen.svg could not be loaded". Now you have a problem
Reply With Quote Tip this Post
  #4  
Old 11-05-2010, 09:14 AM
CrackBerry Genius
Device(s): 8520, 9300, 9500, 8900, 9100, 9780, 9800, 9900
Carrier: bags are useful
 
Location: UK
Join Date: Apr 2009
Posts: 3,843
Likes Received: 486
Thanked 408 Times in 273 Posts
Default

while that`ll export ok, it`ll never work right because youve got x and z as hotkeys, which are the numbers 7 and 8, so anyone that presses them will just start dialling, id look at setting it for q and a, or better is to use the alt, so alt+q is # and alt+a is *
Reply With Quote Tip this Post
    Thread Author   #5  
Old 11-05-2010, 06:58 PM
CrackBerry User
Device(s): 9800 (Torch)
Carrier: Vodafone
 
Join Date: Feb 2009
Posts: 11
Likes Received: 0
Thanked 0 Times in 0 Posts
Angry

Thats my Problem ....

Who can help me, whats hs0_line ???

This is the message I get:


Warning: The following resources could not be included in the theme for reasons explained below:
homescreen.svg

Warnings:
homescreen.svg: Failed to compile SVG file.

Errors in homescreen.svg:
>>> Transcoding homescreen.svg.
Error: The element <set> named "$unnamed$" has a reference to "hs0_line" which is not found.
Error: The element <set> named "$unnamed$" has a reference to "hs0" which is not found.
Error: The element <set> named "$unnamed$" has a reference to "messages1hotspot" which is not found.
Error: The element <set> named "$unnamed$" has a reference to "messages2hotspot" which is not found.
Error: The element <set> named "$unnamed$" has a reference to "hs0_line" which is not found.
Error: The element <set> named "$unnamed$" has a reference to "hs0" which is not found.
Error: The element <set> named "$unnamed$" has a reference to "messages1hotspot" which is not found.
Error: The element <set> named "$unnamed$" has a reference to "messages2hotspot" which is not found.
Error: The element <set> named "$unnamed$" has a reference to "hs0_line" which is not found.
Error: The element <set> named "$unnamed$" has a reference to "hs0" which is not found.
Error: The element <set> named "$unnamed$" has a reference to "messages1hotspot" which is not found.
Error: The element <set> named "$unnamed$" has a reference to "messages2hotspot" which is not found.
Error: The SVG file "homescreen.svg" cannot be compiled.
12 error(s) were encountered.
Reply With Quote Tip this Post
  #6  
Old 11-05-2010, 07:08 PM
CrackBerry Genius
Device(s): 9930 + 9850 (Torch2) + PlayBook 64
Carrier: I don't even know her?!?
 
Location: 322oh8
Join Date: Nov 2009
Posts: 2,348
Likes Received: 368
Thanked 444 Times in 162 Posts
Default

The duration errors are fine. Only errors when you export are bad

Posted from my BlackBerry using BerryBlab
__________________
Discontent is the first necessity of progress --Thomas A. Edison
drkapprentice @drkapprentice
Reply With Quote Tip this Post
    Thread Author   #7  
Old 11-06-2010, 11:52 AM
CrackBerry User
Device(s): 9800 (Torch)
Carrier: Vodafone
 
Join Date: Feb 2009
Posts: 11
Likes Received: 0
Thanked 0 Times in 0 Posts
Default Help Please ...

My Question ...

Whats is hs0_line or hs1_line ???? Show my Picture please ...How can I find out ????

Thats the Messages i get ....

Warning: The following resources could not be included in the theme for reasons explained below:
homescreen.svg

Warnings:
homescreen.svg: Failed to compile SVG file.

Errors in homescreen.svg:
>>> Transcoding homescreen.svg.
Error: The element <set> named "$unnamed$" has a reference to "hs0_line" which is not found.
Error: The element <set> named "$unnamed$" has a reference to "hs0" which is not found.
Error: The element <set> named "$unnamed$" has a reference to "hs0_line" which is not found.
Error: The element <set> named "$unnamed$" has a reference to "hs0" which is not found.
Error: The SVG file "homescreen.svg" cannot be compiled.
4 error(s) were encountered.
Attached Images
File Type: png ThemeOS6.png (321.3 KB, 16 views)
Reply With Quote Tip this Post
  #8  
Old 11-06-2010, 12:39 PM
CrackBerry Genius
Device(s): 9930 + 9850 (Torch2) + PlayBook 64
Carrier: I don't even know her?!?
 
Location: 322oh8
Join Date: Nov 2009
Posts: 2,348
Likes Received: 368
Thanked 444 Times in 162 Posts
Default

The hs#line is the line under the today item added in tb. To get rid of it got to properties and unclick that and underlay and it should work.

Posted from my BlackBerry using BerryBlab
__________________
Discontent is the first necessity of progress --Thomas A. Edison
drkapprentice @drkapprentice
Reply With Quote Tip this Post
    Thread Author   #9  
Old 11-07-2010, 04:23 AM
CrackBerry User
Device(s): 9800 (Torch)
Carrier: Vodafone
 
Join Date: Feb 2009
Posts: 11
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Hi dcburke789 ....

You can post an SVG file and thm file for example ... It will not work
Reply With Quote Tip this Post
  #10  
Old 11-08-2010, 10:51 AM
CrackBerry Genius
Device(s): 9930 + 9850 (Torch2) + PlayBook 64
Carrier: I don't even know her?!?
 
Location: 322oh8
Join Date: Nov 2009
Posts: 2,348
Likes Received: 368
Thanked 444 Times in 162 Posts
Default

Moving today items this way...svg is only hlaf of the problem. The thm file has to be set up specifically to work with the particular svg.

Because whatever item u place first in tb ( be it a today item or a zen item) is named hs0 and so on after that. Evn if you delete hs8 , a zen item, to replace it with a today item, tb won't rename the next one hs8. It continue in order.

I will try to post up an example later this week.

Posted from my BlackBerry using BerryBlab
__________________
Discontent is the first necessity of progress --Thomas A. Edison
drkapprentice @drkapprentice
Reply With Quote Tip this Post
    Thread Author   #11  
Old 11-08-2010, 11:13 AM
CrackBerry User
Device(s): 9800 (Torch)
Carrier: Vodafone
 
Join Date: Feb 2009
Posts: 11
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Hi dcburke789...

Well ... I'll wait
Reply With Quote Tip this Post
  #12  
Old 11-08-2010, 01:58 PM
CrackBerry Genius
Device(s): 9930 + 9850 (Torch2) + PlayBook 64
Carrier: I don't even know her?!?
 
Location: 322oh8
Join Date: Nov 2009
Posts: 2,348
Likes Received: 368
Thanked 444 Times in 162 Posts
Default

What model are you building for?

Posted from my BlackBerry using BerryBlab
__________________
Discontent is the first necessity of progress --Thomas A. Edison
drkapprentice @drkapprentice
Reply With Quote Tip this Post
    Thread Author   #13  
Old 11-09-2010, 04:17 PM
CrackBerry User
Device(s): 9800 (Torch)
Carrier: Vodafone
 
Join Date: Feb 2009
Posts: 11
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

I use a Blackberry Torch ....
Reply With Quote Tip this Post
    Thread Author   #14  
Old 11-11-2010, 05:40 PM
CrackBerry User
Device(s): 9800 (Torch)
Carrier: Vodafone
 
Join Date: Feb 2009
Posts: 11
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Hey ... dcburke789

DO YOU HAVE AN IDEA
Reply With Quote Tip this Post
  #15  
Old 11-12-2010, 12:10 PM
CrackBerry Genius
Device(s): Bold
Carrier: AT&T
 
Join Date: Dec 2008
Posts: 2,241
Likes Received: 2
Thanked 2 Times in 2 Posts
Default

What was the first object you added to the Home Screen?
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > Theme Developers   Undocumented SVG Objects - Help Please ...

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes