1. Меняем версию флеш плеера для публикации с 5 на 8 (в 5-ке не было LoadVars) и ставим AS2
2. Удаляем второй кадр с кодом.
3. В первом кадр меняем код на

Код:
import mx.utils.Delegate;
var php = new LoadVars ();
var id:Number;
var time:Number;
function onLoadTime (success) {
if (success) {
time = new Date (2007, 0, 0, php.hour, php.min, php.sec).getTime () - getTimer ();
id = setInterval (this, "timer", 100);
}
}
function timer () {
var t:Number = time + getTimer ();
var date:Date = new Date (t);
this.Hourhand._rotation = date.getHours () * 30 + (date.getMinutes () / 2);
this.Minutehand._rotation = date.getMinutes () * 6 + (date.getSeconds () / 10);
this.Secondhand._rotation = date.getSeconds () * 6;
}
php.onLoad = Delegate.create (this, onLoadTime);
php.sendAndLoad ("timer.php", php);