Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Archived:JSR-226 - SVGSVGElement.setCurrentTime() does not allow to set the animation time backwards (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata
Created: User:Technical writer 1 (31 Aug 2007)
Last edited: hamishwillee (30 Jul 2013)



The method SVGAnimator.stop() does not reset the animation time. The only way to start the animation from the beginning is to call <tt<SVGSVGElement.setCurrentTime( 0f );</tt>


Resetting the animation or setting the animation backwards does not work. This also means that playing the animation backwards is not supported.

How to reproduce

This issue affects JSR-226 when running on the emulator.

Stop the animation and call SVGSVGElement.setCurrentTime(time), where time equals 0f or less than the current time retrieved with SVGSVGElement.getCurrentTime().


For resetting the animation, recreate the SVGAnimator object. Resetting the animation time back to zero will be fixed in S60 3rd Edition, FP2 MIDP SDK.

This page was last modified on 30 July 2013, at 11:13.
53 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.