Hi Peter.

Peter Thompson:
> I looked at this the first time that you posted it. I think that there
> is some interaction between the declarative set attribute and the
> Javascript set attribute, but I don't know for sure and can't explain
> it (maybe someone who really understands this will comment). If it
> were me, I'd remove the declarative set attribute tags and just use
> Javascript to do what I wanted.

That's right, animatable properties have a base value and an animated
value.  The base value is determined by the XML attribute (and also the
CSS cascade, if the property is also a CSS property) and the animated
value is determined by the SMIL elements in the document and also the
base value.

In this case, since it's not an additive animation, the animated value
completely overrides the base value.  The animated value is always what
is used in the rendering.  You will have to make the animation stop (by
using an 'end' attribute on the 'set' element, to stop the animation
applying after a given event) or remove the 'set' element altogther to
get the base value to come back into effect.

Cameron

-- 
  e-mail : cam (at) mcc.id.au           icq : 26955922
     web : http://mcc.id.au/            msn : cam-msn (at) aka.mcc.id.au
  office : +61399055779              jabber : heycam (at) jabber.org


-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to