How can I create gapless ticker line?

From AVObjects Knowledge Base
Jump to: navigation, search

It is really easy. All you need is change "gapless-crawl" parameter value of ticker to "yes":

<ticker type='crawl' speed='-2.0' gapless-crawl='yes' distance='1.0' line-height='1.0'>

There are 2 conditions for correct work of "gapless-crawl":

  • Set "gapless-crawl" parameter value to "yes" before adding the content. If you have already added the content you need to re-add it.
  • Content of ticker must contain at least 2 lines long enough to cover the ticker display area.
<cg-item group-type='ticker' id='ticker-000'>
	<graphics color='ML(180)-White(180)'/>
	<ticker type='crawl' speed='-2.0' gapless-crawl='yes' distance='1.0' line-height='1.0'>
		<background color='ML(180)-White(180)'/>
		<default-text bold='true' size='20' style='uppercase'/>
		<content>
			<content-item value='My first ticker content line.
My second ticker content line.
My third ticker content line.'/>
		</content>
	</ticker>
	<cg-props pos-x='36' pos-y='29' width='684' height='29' show='no' move-type='accel-both' alpha='255' bg-color='Black(0)' pixel-ar='0.000' play-mode='loop' interlace='auto' scale='fit-ar' align='top-left' pause='no' edges-smooth='0'>
		<indent left='0' right='0' top='0' bottom='0' use-for-bg='no'/>
		<group-indent left='0' right='0' top='0' bottom='0'/>
	</cg-props>
	<internal ignore-ticker='no'/>
</cg-item>
Personal tools