Hello, I did some site searches, but it doesn’t seem to search forums? I also have been looking at many walkthroughs on inserting php into flash actionscript, but can’t seem to get what I want working.
// define the event date counting down to
// this is constant so it won't need to be
// calculated in the onEnterFrame function below
// currently counting down 'til christmas of 2003
// Date( year, month-1, date [, hour [, minute [, second [, millisecond]]]])
eventDate = new Date(2003, 11, 25);
I replaced 2003, 11, 25 with server.year server.month server.day
In the gettime.php I added:
<?php
echo "time=" . time();
$year = "2007";
$month = "11";
$day = "4";
$hour = "05";
$minute = "21";
print("&year=$year");
print("&month=$month");
print("&day=$day");
print("&hour=$hour");
print("&minute=$minute");
?>
I will replace the values with a value from a form post in a different page, but want to see if the values from php will go to the swf.
It just creates a blank swf. I really like the countdown timer as is, but just want an input page for others to be able to submit a new time to count down to.
Thanks for any input.