sono riuscito a creare il countdown...

ora però..vorrei solo associare un geturl pagina.asp ogni ora trascorsa...

ecco il codice che uso..solo che qui la data è impostata a mano...
e vorrei invece
che la recuperi in automatico

Codice PHP:
nel fotogramma

if (cd_abstract == undefined || cd_date == undefined)
{
    
cd_date "2006-12-11T16:00";
// end if
aDateTime cd_date.split("T");
aDate aDateTime[0].split("-");
aTime aDateTime[1].split(":");
if (
aDate[1].indexOf(0) == "0")
{
    
aDate[1] = aDate[1].slice(1);
// end if
if (aDate[2].indexOf(0) == "0")
{
    
aDate[2] = aDate[2].slice(1);
// end if
for (i=0i<cd_dateLabels.lengthi++) {
// end of for
stop();

al clip filmato

onClipEvent 
(load)
{
    
countdown "yes";
    
tyear Number(_root.aDate[0]);
    
tmonth Number(_root.aDate[1]);
    
tday Number(_root.aDate[2]);
    
thours Number(_root.aTime[0]);
    
tminutes Number(_root.aTime[1]);
    
tseconds 0;
}
onClipEvent (enterFrame)
{
    if (
countdown == "yes")
    {
        
mon = ["1""2""3""4""5""6""7""8""9""10""11""12"];
        
daysinmonth = ["31""28""31""30""31""30""31""31""30""31""30""31"];
        
now = new Date();
        
nyear now.getFullYear();
        
nmonth mon[now.getMonth()];
        
ndays daysinmonth[now.getMonth()];
        
nday now.getDate();
        
nhours now.getHours();
        
nminutes now.getMinutes();
        
nseconds now.getSeconds();
        
ryear tyear nyear;
        if (
tmonth >= nmonth)
        {
            
rmonth tmonth nmonth;
        }
        else
        {
            
rmonth 12 nmonth tmonth;
            
ryear ryear 1;
        } 
// end if
        
if (tday >= nday)
        {
            
rday tday nday;
        }
        else
        {
            
rday ndays nday tday;
            
rmonth rmonth 1;
            if (
rmonth 0)
            {
                
ryear ryear 1;
                
rmonth 12 rmonth;
            } 
// end if
        
// end if
        
if (thours >= nhours)
        {
            
rhours thours nhours;
        }
        else
        {
            
rhours 24 nhours thours;
            
rday rday 1;
            if (
rday 0)
            {
                
rmonth rmonth 1;
                
rday Number(ndays) + Number(rday);
                if (
rmonth 0)
                {
                    
ryear ryear 1;
                    
rmonth 12 rmonth;
                } 
// end if
            
// end if
        
// end if
        
if (tminutes >= nminutes)
        {
            
rminutes tminutes nminutes;
        }
        else
        {
            
rminutes 60 nminutes tminutes;
            
rhours rhours 1;
            if (
rhours 0)
            {
                
rday rday 1;
                
rhours 24 rhours;
                if (
rday 0)
                {
                    
rmonth rmonth 1;
                    
rday Number(ndays) + Number(rday);
                    if (
rmonth 0)
                    {
                        
ryear ryear 1;
                        
rmonth 12 rmonth;
                    } 
// end if
                
// end if
            
// end if
        
// end if
        
if (tseconds >= nseconds)
        {
            
rseconds tseconds nseconds;
        }
        else
        {
            
rseconds 60 nseconds tseconds;
            
rminutes rminutes 1;
            if (
rminutes 0)
            {
                
rhours rhours 1;
                
rminutes 60 rminutes;
                if (
rhours 0)
                {
                    
rday rday 1;
                    
rhours 24 rhours;
                    if (
rday 0)
                    {
                        
rmonth rmonth 1;
                        
rday Number(ndays) + Number(rday);
                        if (
rmonth 0)
                        {
                            
ryear ryear 1;
                            
rmonth 12 rmonth;
                        } 
// end if
                    
// end if
                
// end if
            
// end if
        
// end if
        
if (ryear 0)
        {
            
disyear 0;
            
dismonth 0;
            
disday 0;
            
dishours 0;
            
disminutes 0;
            
disseconds 0;
            
discountdown "no";
            
this.play();
            
countdown "no";
        }
        else
        {
            if (
ryear != year)
            {
                
year ryear;
                if (
year 10)
                {
                    
this.years.years.disyear "0" year;
                }
                else
                {
                    
this.years.years.disyear year;
                } 
// end if
                
this.years.play();
            } 
// end if
            
if (rmonth != month)
            {
                
month rmonth;
                if (
month 10)
                {
                    
this.months.months.dismonth "0" month;
                }
                else
                {
                    
this.months.months.dismonth month;
                } 
// end if
                
this.months.play();
            } 
// end if
            
if (rday != day)
            {
                
day rday;
                if (
day 10)
                {
                    
this.days.days.disday "0" day;
                }
                else
                {
                    
this.days.days.disday day;
                } 
// end if
                
this.days.play();
            } 
// end if
            
if (rhours != hours)
            {
                
hours rhours;
                if (
hours 10)
                {
                    
this.hour.hour.dishours "0" hours;
                }
                else
                {
                    
this.hour.hour.dishours hours;
                } 
// end if
                
this.hour.play();
            } 
// end if
            
if (rminutes != minutes)
            {
                
minutes rminutes;
                if (
minutes 10)
                {
                    
this.minute.minute.disminutes "0" minutes;
                }
                else
                {
                    
this.minute.minute.disminutes minutes;
                } 
// end if
                
this.minute.play();
            } 
// end if
            
if (rseconds != seconds)
            {
                
seconds rseconds;
                if (
seconds 10)
                {
                    
this.second.second.disseconds "0" seconds;
                    if (
seconds == 0)
                    {
                        if (
minutes == 0)
                        {
                            if (
hours == 0)
                            {
                                if (
day == 0)
                                {
                                    if (
month == 0)
                                    {
                                        
_root.test._visible true;
                                    } 
// end if
                                
// end if
                            
// end if
                        
// end if
                    
// end if
                
}
                else
                {
                    
this.second.second.disseconds seconds;
                } 
// end if
                
this.second.play();
            } 
// end if
        
// end if
    
// end if