W3C home > Mailing lists > Public > www-svg@w3.org > October 2008

RE: Interaction between discard and animation element

From: Julien Reichel <Julien.Reichel@spinetix.com>
Date: Fri, 3 Oct 2008 09:02:12 +0200
Message-ID: <364D31930BDB974AB40E22C5C2E584ED1E6937@asterix.SPINETIX.local>
To: <www-svg@w3.org>

Hi,

Additional question regarding the question below (not answered so far)
and the newly added "playbackOrder"[1] attribute:

What is the interaction between the <animation> element and the
playbackOrder ?

Is it possible to reference an SVG file (including a
playbackOrder="forwardOnly") using a repeating animation (or multiple
begin times)? If yes, then this means (IMO) that repeating and multiple
begin on a document corresponds to multiple opening of the document and
not restarting the timeline from 0. If not...please explain...

Regards

Julien

[1]
http://www.w3.org/TR/2008/WD-SVGMobile12-20080915/struct.html#SVGElement
PlaybackOrder

-----Original Message-----
From: www-svg-request@w3.org [mailto:www-svg-request@w3.org] On Behalf
Of Julien Reichel
Sent: lundi 15 septembre 2008 18:13
To: www-svg@w3.org
Subject: Interaction between discard and animation element


Hi,

What happens when an SVG files (1.2 tiny) is included in another file
with an <animation> tag and that the included file has a discard element
?

***************** Example: case 1:

File 1:
<svg>
<rect> <discard begin="3s"/> </rect>
</svg>

File 2:
<svg>
<animation xlink:href="file1.svg" dur="10" repeatDur="20" />
</svg>

I suppose the following happens:
0-3s:   The rectangle is visible
3-10s:  The rectangle is discarded
10-13s: The rectangle is visible again, because the repeat restart the
file from the beginning
13-20s: The rectangle is discarded again.

Is this understanding correct ? If not, could you point out to me where
it is stated otherwise ?


***************** Example: case 2:

File 3:
<svg>
<animation xlink:href="file1.svg" dur="10" begin="0;10" />
</svg>

I suppose the following happens:
0-3s:   The rectangle is visible
3-10s:  The rectangle is discarded
10-13s: The rectangle is visible again, because the included file begin
again
13-20s: The rectangle is discarded again.
 
Is this understanding correct ? If not, could you point out to me where
it is stated otherwise ?

Julien

-------------------------------------------------------------

Julien Reichel, PhD
Technology Architect, SpinetiX S.A.
PSE-C, CH-1015, Lausanne, Switzerland

Tel:     +41 (0) 21 693 89 81
Mail:   julien.reichel@spinetix.com
Get Information : http://www.spinetix.com

-------------------------------------------------------------

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the
material from any computer.

 
 
Received on Friday, 3 October 2008 07:02:49 GMT

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