Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
IanGav
Posts: 6
Registered: ‎03-25-2009
My Device: Not Specified

SVG setAttribute() on Animation

[ Edited ]

Hi,

 

I'm trying to create an SVG animation by setting the "value" like so:

 

e = (SVGAnimationElement) doc.getElementById("linearRot"); 

...

e.setAttribute("values", values);

 

however I am getting the SVGException "Unimplemented"... is that really so?

 

I tried setting the trait first but noticed my new values were being ignored.

 

I also tried setting "from" and "to" attributes with same error.

 

Is setting any animation tags unimplemented (unless using Plazmic)?

 

 

<animateTransform id="linearRot" attributeName="transform" attributeType="XML" type="rotate" calcMode="linear" values="0 100 100; 1000 100 100; 1700 100 100; 2340 100 100" keyTimes="0;.25;.55;1"  begin="1s" dur="10s" fill="freeze" />

 

 

Message Edited by IanGav on 03-25-2009 11:15 AM
Please use plain text.
Administrator
MSohm
Posts: 14,521
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: SVG setAttribute() on Animation

What BlackBerry Smartphone model and BlackBerry handheld software version are you testing on?  You can find this under Options, About on the BlackBerry Smartphone.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.