×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    48

    how to do svg files animation

    Hi friends,

    I have 3 svg files . i want to display those three in some preriod of time


    <?xml version='1.0' standalone='no'?>
    <!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN'
    'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'>

    <svg width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'
    xmlns:xlink='http://www.w3.org/1999/xlink'>

    <image width="320" height="240" xlink:href="Frame1.JPG">
    <animate id='frame_0' attributeName='display' values='inline;none'
    dur='0.5s' fill='freeze' begin="0s" repeatCount="indefinite"/>
    </image>

    <image width="320" height="240" xlink:href="Frame2.JPG">
    <animate id='frame_1' attributeName='display' values='none;inline'
    dur='0.5s' fill='freeze' begin="0.5s" repeatCount="indefinite" />
    </image>

    </svg>




    above code is for .jpg files adding create one svg file like that
    two svg file combination and create one file
    any method is available

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,694

    Re: how to do svg files animation

    You can try what CImageDecoder does with animated .svg-s. Generally it supports multi-frame files (you can find .gif-related articles in the Wiki).

Similar Threads

  1. Replies: 1
    Last Post: 2007-08-11, 20:35
  2. how to work with svg files.
    By kain64bt in forum Symbian
    Replies: 0
    Last Post: 2007-04-11, 06:57
  3. Speed problems on opening SVG files (mSD Card)
    By douville in forum Mobile Java General
    Replies: 0
    Last Post: 2006-06-22, 09:56

Posting Permissions

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