×
Namespaces

Variants
Actions

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

From Nokia Developer 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
CompatibilityArticle
Created: User:Technical writer 1 (31 Aug 2007)
Last edited: hamishwillee (30 Jul 2013)

Contents

Overview

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>

Description

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().

Solution

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 14: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.

×