Hi Jerzy. Jerzy Jalocha N: > I suppose (maybe naively), that it should be as easy as > changing periodically the value for the xlink:href attribute. > But this has not worked for me so far, for the reasons given > in the first post. An example: > > >>> <image width="50" height="50" xlink:href="frame0.png" dur="1s"> > >>> <set attributeName="xlink:href" to="frame1.png" dur="1s" /> > >>> ... > >>> <set attributeName="xlink:href" to="frame9.png" dur="1s" /> > >>> </image>
Something like that would work, but you’d need to use @begin attributes on the <set>s so that they don’t all apply at once. Or, you can use <animate> with the list of URLs in a @values attribute. For example, the following works for me: <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="400" height="300"> <image xlink:href="frame0.png" width="100" height="100"> <animate attributeName="xlink:href" values="frame0.png; frame1.png; frame2.png; frame3.png" calcMode="discrete" dur="4s" repeatDur="indefinite"/> </image> </svg> -- Cameron McCormack ≝ http://mcc.id.au/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
