Dear Prem,
You have two animation in your document:
<animateMotion id="a1" begin="0;b1.end" dur="1"
accumulate="none" calcMode="paced" keyTimes="0;1" values="0;1"
keyPoints="0;1" path="M0,0 C-32.333,0 -64.667,0 -97,0" rotate="0" />
which move the text from right to left and
<animateMotion id="b1" begin="a1.end" dur="1"
accumulate="none" calcMode="paced" keyTimes="0;1" values="0;1"
keyPoints="0;1" path="M-97,0 C-72.75,0 -24.25,0 0,0" rotate="0" />
<rect fill="none" stroke="#000000" x="99" y="88"
rx="0" ry="0" width="96" height="28"/>
which move teh text from left to right
The first animation starts at 0 and when the second animation ends:
begin="0;b1.end"
The second animation starts when animation 1 ends: begin="a1.end"
This creates an infinite loop. Note that infinite loop are normally not
allowed in SVG. But are tolerated in some cases, and this is one of the
case.
Julien
________________________________
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of prem_2324
Sent: 19 December 2007 07:45
To: [email protected]
Subject: [svg-developers] Resolving Begin and end times
Hi everybody,
Could you please tell me how to resolve the begin and end times
for
the animateMotion Tags in the below example.
I have verified with opera and it gives an infinite movement of
text
within a box..
Regards
Prem
__________________________________________________________
__________________________________________________________
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generator: Ikivo Animator -->
<svg font-style="normal" font-weight="400" xml:space="preserve"
baseProfile="tiny" height="200" id="fps_005_listmenu"
version="1.2"
viewBox="0 0 200 200" width="200"
xmlns="http://www.w3.org/2000/svg <http://www.w3.org/2000/svg> "
xmlns:xlink="http://www.w3.org/1999/xlink
<http://www.w3.org/1999/xlink> "
xmlns:ev="http://www.w3.org/2001/xml-events
<http://www.w3.org/2001/xml-events> ">
<text font-family="Verdana-Bold" font-size="12"
transform="matrix(1,0,0,1,10,19.5)">Performance - 05 SVG</text>
<text font-family="Verdana" font-size="12" transform="matrix
(1,0,0,1,10,33.9)">motionTween Text</text>
<g transform="matrix(1,0,0,1,0,0)">
<animateMotion id="a1" begin="0;b1.end" dur="1"
accumulate="none" calcMode="paced" keyTimes="0;1" values="0;1"
keyPoints="0;1" path="M0,0 C-32.333,0 -64.667,0 -97,0"
rotate="0" />
<animateMotion id="b1" begin="a1.end" dur="1"
accumulate="none" calcMode="paced" keyTimes="0;1" values="0;1"
keyPoints="0;1" path="M-97,0 C-72.75,0 -24.25,0 0,0" rotate="0"
/>
<rect fill="none" stroke="#000000" x="99" y="88"
rx="0" ry="0" width="96" height="28"/>
<text id="dynamic_text" fill="#003cff" font-
family="UtahMT-Mobile" font-size="18" transform="matrix
(1,0,0,1,112.639,108)">dynamic</text>
<path d="M0,0 C-32.333,0 -64.667,0 -97,0" fill="none"
stroke="green" stroke-width="2"/>
<path d="M-97,0 C-72.75,0 -24.25,0 0,0" fill="none"
stroke="green" stroke-width="2" />
</g>
</svg>
[Non-text portions of this message have been removed]
-----
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/