7 Replies Latest reply on Nov 28, 2010 9:11 PM by kglad

    .onLoad = function(ok){

    Ron Colmen Level 2

      How can I make this AS script work with the php script below?

       

      server = new LoadVars();

      server.onLoad = function(ok){

      if (!ok) return trace("Unable to get the date from server");

      counter.onEnterFrame = countdown;

      counter._visible = true;

      this.time = Number(this.time)*1000;

      };

       

      <?php

      echo time();

      ?>