W3C home > Mailing lists > Public > www-svg@w3.org > January 2003

<animateMotion> xlink to polyline?

From: <Krg9263@netscape.net>
Date: Fri, 24 Jan 2003 20:36:02 -0500
To: www-svg@w3.org
Message-ID: <7A88E8DB.2F2B5129.00186EAC@netscape.net>

I have a very simple <animateMotion> question. I would like to 
create an animation by Xlink 'ing. However, I can only find implementations that Xlink to paths while I would like to xlink to a polyline. Is this possible? I can not seem to get it to work? If not is there a way around this?

Below is my sample code


<rect x="-5" y="-5" width="10" height="10" fill="red">
               <animateMotion dur="10s" repeatCount="indefinite">
                   <mpath xlink:href="#test2"/>
               </animateMotion>
           </rect>



<polyline id="test2" points="184 262 167 256 154 253 134 248 112 242 92 236 60 226 63 231 70 233 70 234 70 233 91 240 114 248 120 251 120 252 121 256 123 261 151 269 164 273 179 277 200 285 230 298 248 304 260 310 272 314 284 315 297 316 304 317 312 317 314 306 316 292 319 280 352 279 363 278 389 277 403 267 409 264 418 258 422 255 427 250 429 245 431 237 435 218 438 207 442 200 481 207 487 208 487 209 487 208 501 210 541 216 542 221 542 235 538 260 534 282 515 281 " stroke="lime" stroke-opacity="0.6" stroke-width="4.0" fill="none"/>


__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
Received on Friday, 24 January 2003 20:36:44 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:24 GMT