W3C home > Mailing lists > Public > www-svg@w3.org > May 2000

how to animate a "donut" and watch with a current viewer?

From: tobi <ucyur@yahoo.com>
Date: Tue, 16 May 2000 12:33:12 -0700 (PDT)
Message-ID: <20000516193312.9407.qmail@web3404.mail.yahoo.com>
To: svg-developers@egroups.com
Hi!
How can I animate (move etc.) a compound path (here: a
shape with holes in it), AND watch it with the
adobeSVGviewer?
As far as I know, the adobe-plugIn does not yet
support animation of paths, so I thought, maybe I
could animate compound-paths consisting of basic
shapes. So how do I express that?
This didn't work:
<svg width="400px" height="400px">
 <rect style="fill:#ff0;stroke:none" x="0" y="0"
width="300" height="300"/>
  <g width="200px" height="200px">
   <rect style="fill:#f0f;stroke:none" x="5" y="5"
width="100" height="100">
    <rect style="fill:#0f0;stroke:none" x="10" y="10"
width="10" height="10"/>
   </rect>
  </g>
</svg>

Tobi

=====
Tobias Reif    http://www.tbx67.de/svg/    http://www.tbx67.de
       _/  /      
     /    /    _   /   _  /   _  /  /   /   _  /   _  /   _  /
     _/  /    /   /  /   /  /   /  /   /  /   /  /   /  /   /
   /   _ _/ _ _ _/   _ _/   _ _/ _ _  /   _ _/   _ _/   _ _/
 _/                /      /     _ _ _/  /             /

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
Received on Tuesday, 16 May 2000 15:33:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 23:52:47 GMT