Hi Everybody,

I am a new bie in SVG. i was unable to understand the Discrete 
animation Time slot Divison with Values attribute.

I checked the below example with Opera and  found that the for each 
interval the circle with Discrete reaches end at different time.
With  values="50;150;250;350;450" dur="10"  i assume that the circle 
moves from 50-150 in 2.5s seconds  and 150-250 in 2.5s-5 s and 250-
350 in 5s-7.5 s and 350-450 in 7.5s-10s.

But the SMIL specification says that the duration has to be divided 
into half for each interval( and that too doesnt happen in Opera).

Can u please explain the timing interval divison in  Discrete .

_____________________________________________________________________
__<?xml version="1.0" encoding="UTF-8"?>
<svg version="1.2" baseProfile="tiny" xml:id="svg-root" width="100%" 
height="100%"
  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg";
  xmlns:xlink="http://www.w3.org/1999/xlink"; 
xmlns:xe="http://www.w3.org/2001/xml-events";>



    <g transform="translate(40,0) scale(0.8)"> 

      <circle r="30" cx="50" cy="200" fill="#ccc" /> 
      <circle r="30" cx="150" cy="200" fill="#ccc" /> 
      <circle r="30" cx="250" cy="200" fill="#ccc" /> 
      <circle r="30" cx="350" cy="200" fill="#ccc" /> 
      <circle r="30" cx="450" cy="200" fill="#ccc" /> 

      <circle r="30" cx="50" cy="120" fill="#ccc" /> 
      <circle r="30" cx="150" cy="120" fill="#ccc" /> 
      <circle r="30" cx="250" cy="120" fill="#ccc" /> 
      <circle r="30" cx="350" cy="120" fill="#ccc" /> 
      <circle r="30" cx="450" cy="120" fill="#ccc" /> 
        
        <circle r="30" cx="50" cy="120" fill="rgb(204,0,102)"> 
        <animate attributeName="cx" values="50;150;250;350;450"  
dur="10" calcMode="paced" fill="freeze" /> 
      </circle> 
        
      <circle r="30" cx="50" cy="200" fill="rgb(204,0,102)"> 
        <animate attributeName="cx" values="50;150;250;350;450" 
dur="10" calcMode="discrete" fill="freeze" /> 
      </circle> 
    </g>
 </svg>
_____________________________________________________________________
_____________________________________________________________________

Regards
Prem




-----
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/
 

Reply via email to