Namespaces
Variants
Actions

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

Jump to: navigation, search
Archived.png
Archived: 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}}.


SignpostIcon Palette 52.png
Article Metadata

Compatibility
Platform(s): S60 3rd Edition, FP1 MIDP SDK

Article
Created: User:Technical writer 1 (31 Aug 2007)
Last edited: hamishwillee (28 Jun 2012)

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 28 June 2012, at 08:18.
107 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved