Cycle animation for loading

  • Hi,

    that would be possible this way:

    1. look in the vtourskin.xml for the 'skin_showloading' <action> and change it to this one:

    This action will start an asynchronous loop as long as the loading text is visible - and inside the loop it will measure if 200ms are elapsed - and once they are elapsed, the text will be changed step by step from 'loading' to 'loading...'.

    2. By default the loading text element is 'autosized' to it's text content - so to avoid a moving text during the text changes, set a fixed width for the 'skin_loadingtext' <layer> element - e.g. width="100" should work:

    Code
    <layer name="skin_loadingtext"  ... width="100" ...  />

    Best regards,
    Klaus

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!