Hello, I would like to move a rectangle of 25 pixels each time I press the 'r' key. I'm looking for a solution without scripting. Is it doable with SMIL?
Here is the code: <?xml version="1.0" encoding="UTF-8"?> <svg width="600" height="400" viewBox="-300 -200 600 400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events" xml:space="preserve" version="1.1" baseProfile="Normal"> <rect x="-25" y="-25" width="50" height="50" fill="#efece6" stroke="#ef4800"> <animate attributeName="x" id="Animation_1_Segment" begin="accessKey(r)" by="25" additive="sum" accumulate="sum" dur="0.5s" fill="freeze"/> </rect> </svg> Any help would be greatly appreciated. Thanks in advance, Ludovic ----- 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/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/