View Full Version : PHP to Flash

08 Jun 2010, 01:28 AM
I have managed to get the string from PHP to load in the flash file. My problem now is that I can't make it an integer.

onClipEvent (load) {
loadVariables("time.php", this);
onClipEvent (data) {
test1 = unescape(this.serverSeconds);
test2 = int(test1);
txt_secondsleft = test2 - 1;

I want it to countdown showing...