A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: server time insted of client time

  1. #1
    Member
    Join Date
    May 2003
    Posts
    72

    server time insted of client time

    hello flashers.

    help needed.

    working on a project where on the top left corner of the screen i display
    the current date and a clock.
    they are the user machine's date and time.

    i want to display the server time rather then the user's machine time.

    how can i acomplish this task?

    thanks
    piny.
    expect the unexpected.
    that's what mx is all
    about.

  2. #2
    Senior Member
    Join Date
    Nov 2002
    Location
    Maryland, USA
    Posts
    428
    Are you able to use PHP or any other scripting source?

    If so then use that script to call the time and date into a dynamic text box.

  3. #3
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397

  4. #4
    Member
    Join Date
    May 2003
    Posts
    72

    i need the action script

    thanks for the replys.
    but i need the action script rather then the server script.

    i pass the date variable from the server to the mc but i dont know
    how to implement the GetTimer() function
    to work according to that variable.

    thanks again,
    piny
    expect the unexpected.
    that's what mx is all
    about.

  5. #5
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    The GetTimer() function to display the server's date?

  6. #6
    Member
    Join Date
    May 2003
    Posts
    72

    i will try to explain

    i pass a variable from the server to to mc
    the variable includes the date and the current time of
    the server.

    i put the date variable in the date textbox
    but i dont know how to put the time into the
    clock script.

    the clock script grubs the client machine time
    but i want it to start functioning according to the
    time variable that i passed from the server.

    thanks
    piny
    expect the unexpected.
    that's what mx is all
    about.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center