Ask a Question related to Macromedia Director Basics, Design and Development.

  1. #1

    Default Current Time

    I need to show a current time in this mode ( 29.3 secondes ) how i do ??



    I use this for show current time in this mode ( 29340 ) i don't know modify
    .. . . .

    member("current time").text = string(sprite(1).currentTime)


    Spike Guest

  2. Similar Questions and Discussions

    1. Get current date/time? Use them in hidden field?
      I've got an app that works as a reception log for clients coming in our agency. The receptionist logs each client's name into our log database. ...
    2. Outputting current time
      I output the current day/date on our web site home page. We recentlt moved to an american server that is 10 hours behing us in Australia. Whats the...
    3. Current time in a procedure ??!!
      Hi, i want to put a lot of trace (log time in a table) in some procedure. The function "current" show the same time by statement. How can i get...
    4. How to change the current thread current culture at run time.
      I have created a new culture : Dim objCulture As New CultureInfo("he") //hebrew When I tried to assign it to the current thread. ...
    5. Current Date & Time
      I want to display the current date & time on my web site. Not being a code guru could someone please tell me what is the simplest script that works...
  3. #2

    Default Re: Current Time

    -- store current value
    fp=the floatPrecision
    -- set to diaply 1 d.p.
    the floatPrecision=1
    -- get the milliseconds
    t=sprite(1).currentTime
    -- format it to seconds with 1/10 seconds
    member("current time").text = string((t/100)*0.1)
    -- restore previous value
    the floatPrecision=fp

    Andrew
    Andrew Morton Guest

  4. #3

    Default Re: Current Time

    please do not cross-post

    MH



    "Spike" <fabricio@glb.com.br> wrote in message
    news:c5ja99$kj3$1@forums.macromedia.com...
    > I need to show a current time in this mode ( 29.3 secondes ) how i do ??
    >
    >
    >
    > I use this for show current time in this mode ( 29340 ) i don't know
    modify
    > . . . .
    >
    > member("current time").text = string(sprite(1).currentTime)
    >
    >

    Michael Hamstra Guest

  5. #4

    Default Re: Current Time

    please . . . . sorry . . . .

    "Michael Hamstra" <michael@hvc-inc.com> wrote in message
    news:c5jb7d$m0t$1@forums.macromedia.com...
    > please do not cross-post
    >
    > MH
    >
    >
    >
    > "Spike" <fabricio@glb.com.br> wrote in message
    > news:c5ja99$kj3$1@forums.macromedia.com...
    > > I need to show a current time in this mode ( 29.3 secondes ) how i do ??
    > >
    > >
    > >
    > > I use this for show current time in this mode ( 29340 ) i don't know
    > modify
    > > . . . .
    > >
    > > member("current time").text = string(sprite(1).currentTime)
    > >
    > >
    >
    >

    Spike Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139