Namespaces

Variants
Actions

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 - Incorrect animation when animationTransform does not contain the 'from' attribute (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
Compatibility
Platform(s): S60 3rd Edition, FP1 MIDP SDK
Symbian
S60 3rd Edition FP1
Article
Created: User:Technical writer 1 (14 Sep 2007)
Last edited: hamishwillee (30 Jul 2013)

Description

If the 'from' attribute of the <animateTransform> element is missing, element is positioned in the wrong place.

How to reproduce

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

  <rect id="menuItemFrame" x="10" y="60" width="100" height="30" fill="yellow"> 
<animateTransform id attributeName="transform" type="translate"
begin="menuItem_0.focusin" dur="0.3s" to="0,0" fill="freeze"/>
</rect>
 
<text id="menuItem_0" transform="translate(10 80)" font-size="14>
Menu item
<animateTransform attributeName="
transform" type="translate"
values="
10,80;0,80" begin="menuItem_0.focusin" dur="0.5s"
fill="
freeze" end="menuItem_0.focusout" />
<animateTransform attributeName="
transform" type="translate"
values="
0,80;10,80" begin="menuItem_0.focusout" dur="0.5s"
fill="
freeze" end="menuItem_0.focusin" />
</text>
 
SVGElement menuItemElem =
(SVGElement)svgImage.getDocument().getElementById(menuItem_0);

SVGImage.focusOn( menuItemElem ) causes the element menuItemFrame to be placed at wrong Y location.


Solution

This issue is fixed in S60 3rd Edition, FP2 MIDP SDK.

This page was last modified on 30 July 2013, at 11:10.
89 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.

×