"Azreal Yang" <[EMAIL PROTECTED]> writes:

>       i want to get all slideshow animation duration,i write code in
> startShowImpl() , this function is in
> sd\source\ui\slideshow\slieshowimpl.cxx,and the code:
>
> [snip]
>
> in the while loop,the fDuration is always 0,is there something that i
> should change?
>
Hi Azreal,

the animation node tree is deeply nested - have a look at a saved xml
file's content.xml, and the anim:par elements. Please note that asking
for getDuration() is, in general, not sufficient to calculate duration
of effects. See the SMIL spec
(http://www.w3.org/TR/2005/REC-SMIL2-20051213/) for the full glory.

Cheers,

-- Thorsten

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to