Animation effect not cumulative if changed by Javascript

Hi,

I am trying to change a rotate animation via javascript (see bellow), but
everytime the animateTransform "by" attribute is changed, the position of
the symbol is reset, This is not my intended behaviour, I would like to have
the rotational speed vary without glitches.
Does anyone have any ideas on how to solve this?

SVG:
		<g transform="rotate(0)">
			<use x="-60" y="-60" width="120" height="120"
xlink:href="#Symbol"/>
			<animateTransform id="anim" 
					attributeName="transform" 
					attributeType="XML"
                    		type="rotate" 
		                  dur="1s" 
            		      accumulate="sum"
		                  additive="sum" 
            		      repeatCount="indefinite" 
		                  fill="freeze"
                    />
		</g>

SCRIPT:
		svgDoc.getElementById("anim").setAttribute("by", byValue);


Thanks in advance,

Rogerio


PS - Using Adobe SVG Viewer 3 and IE 6 on XP

Received on Tuesday, 30 March 2004 09:12:09 UTC