now browsing by tag
Abimael
Benoît de Chezelles (bew)
Chris Chastain
Custard “Fab” Addict
gerd reuter (werksmannschaft)
Jacob Barton
Jappie Toutenhoofd
Jay M
Karsten Franke
Kishor Rao
klear6
KyungJoon Lee
Lutz Linke
Masaoka Taro
Pierre Hébert
Ren Shore
Roger Schreuders
Simone Boccuzzi (KLR)
Stahw
TrianguloY
Hi Pierre Hébert
Hi Pierre Hébert


]]>
I am playing around with the SVG-stuff. But I cannot make it do what I want in Binding. My script works fine.
Here is the SVG:
viewBox=”0 0 99 99″ style=”enable-background:new 0 0 99 99;” xml:space=”preserve”>
d=”M50,5 c-20,100 20,100 0,0″/>
Here is the working Script :
var s = getEvent().getItem().getBoxBackground(‘n’).getSvgRoot().getElementById(‘hand’)
if (s.getTransform() == null)
{ s.setTransform(‘rotate(33 -50 -60)’)}
else
{ s.setTransform(”)}
But as the photo shows, it will not rotate wirh bindings. But the binding-options for the SVG #hand do populate.
Any suggestions?

