×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    8

    Animating svg image without SVGAnimator

    Is it possible to animate svg image manually without using SVGAnimator?
    I have animated svg image and i want to animate it according to the rules defined in the file but not using SVGAnimator.

    The problem is that using SVGAnimator, you must switch to another displayable (canvas related to animator).
    Don't want to do this because changing displayable causes screen to flicker on some devices.

  2. #2
    Super Contributor
    Join Date
    May 2008
    Location
    Helsinki, Finland
    Posts
    1,100

    Re: Animating svg image without SVGAnimator

    Hello keints,

    Not sure if you already have conquered this problem?

    You can do rendering without an SVGAnimator. Check the following article, it is quite useful : http://developers.sun.com/mobility/m...dvg/index.html

    When you're rendering without an SVGAnimator, you need to detect the user's pointer events, discover whether and where the image was clicked, and call dispatchMouseEvent() on the SVGImage to trigger any scripted behavior. For a CustomItem, form traversal should allow activation and focus navigation through the elements within an image, using SVGImage's activate() and focusOn() methods respectively.

    Let me know how it goes?


    Best Regards,
    [FONT="Comic Sans MS"][COLOR="Blue"][/COLOR][I]Marko Lumivuori
    Technical Support
    +358 40 8019330
    [email]marko.lumivuori@nokia.com[/email][/I][/FONT]

Similar Threads

  1. SVG image format
    By heuven in forum Symbian User Interface
    Replies: 4
    Last Post: 2008-12-07, 21:54
  2. Replies: 7
    Last Post: 2007-06-08, 07:38
  3. Use of svg image
    By aurphius in forum Symbian
    Replies: 2
    Last Post: 2007-05-01, 10:29
  4. SVG image displayed incorrectly in grid view on N91
    By GuusDavidson in forum Symbian
    Replies: 0
    Last Post: 2006-06-30, 06:37
  5. Loading Image data from 'raw' bytes
    By LongSteve in forum Mobile Java General
    Replies: 2
    Last Post: 2002-11-20, 17:38

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×