Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 09:30, 14 September 2007.

KIJ000743 - JSR-226: Incorrect animation when animationTransform does not contain the 'from' attribute

From Forum Nokia Wiki


ID KIJ000743 Creation date September 14, 2007
Platform S60 3rd Edition, FP1 MIDP SDK Devices  
Category Java Subcategory JSR-226 Scalable 2D Vector Graphics API


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.

Related Discussions
Thread Thread Starter Forum Replies Last Post
why cause "Application Error." in real device but emulator leftmoon Mobile Java General 2 2005-01-24 12:39
full screen shydisturbedboy Mobile Java General 3 2007-09-24 20:22
abld command kollar Symbian Tools & SDKs 3 2003-02-03 07:51
How can MIDlets be installed in the Images Menu? eyvind1 Mobile Java General 1 2004-07-27 09:46
Pacman in J2ME (urgent) kiranputhran Mobile Java General 3 2004-09-29 14:43
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZKnownIssueQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX