Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to access "dur" in animateTransform?

I'm using the latest SDK and trying to access dur property of the animateTransform as in:

```

<g transform="translate(50%-24, 95%)">
<animateTransform id="animation" attributeType="scale" ... dur="1"/>

<image ... />
</g>

```

when I try to set dur property as:

```

document.getElementById("animation").dur = 3;

```

It has no effect.

Best Answer
0 Votes
1 REPLY 1

It's possible that .dur is somehow accessible via animateTransform, although I suspect .dur has been omitted from the JS API.

 

Maybe you can achieve the effect you want using multiple animations, each of which is triggered by a different event.

Peter McLennan
Gondwana Software
Best Answer
0 Votes