Graphics

 View Only
  • 1.  countdown leading zeros

    Posted 11-08-2017 13:41
    im making a count down clock for a 24 hour live stream with format HH:NN:SS. i would like the leading zeros do disappear as the countdown goes down. what would the script be to make this happen


  • 2.  RE: countdown leading zeros

    Posted 11-08-2017 16:18
    Set the format to H:NN:SS instead of HH:NN:SS.
    (You can type in to the format field)
    #XPression


  • 3.  RE: countdown leading zeros

    Posted 11-10-2017 00:24
    once the count down gets below one hour, below 10 min and below 1 min. i still would have zeros on the front end that i want removed. i would like it to look clean similar to what you would see on an ESPN package for game clock.
    #XPression


  • 4.  RE: countdown leading zeros

    Posted 11-10-2017 00:27
    I suppose you could build a mask, with the scale or position tied to the value of the timer but you would want to do the logic in steps, not in an analog fashion.
    #XPression


  • 5.  RE: countdown leading zeros

    Posted 11-10-2017 21:14
    Do you have your properties set to H:N:S? Or H:NN:SS? I think it should be the former
    #XPression


  • 6.  RE: countdown leading zeros

    Posted 11-13-2017 16:21
    With time on a clock in XPression it works likes;

    S = single numerical digit "one" is displayed as "1" but double digits or higher such as "eleven" would be displayed as "11"
    SS = single numerical digit "one is displayed as "01" but double digits or higher such as "eleven" would still be displayed as "11"
    SSS = single numerical digit "one is displayed as "001" but double digits or higher such as "eleven" would still be displayed as "011"

    Further to this, date such as Month or "M" can display as words as well so;
    M = number of the month such as January = 1
    MM number of the month such as January = 01
    MMM = tri-code of the month such as January = JAN
    MMMM = full world of the month such as January = JANUARY
    #XPression