Ver Mensaje Individual
  #1 (permalink)  
Antiguo 03/06/2011, 13:05
Avatar de anayibe
anayibe
 
Fecha de Ingreso: agosto-2010
Mensajes: 5
Antigüedad: 13 años, 8 meses
Puntos: 0
Exclamación problema con reloj en flahs

Buenas tardes, despues de varios días intentando crear un reloj en flhas 8 he conseguido que se muevan las agujas, pero algo deve andar mal pues la aguja de las horas no se mueven les dejo el flahs [URL="http://img9.xooimage.com/files/4/d/9/reloj-2967aab.swf"]http://img9.xooimage.com/files/4/d/9/reloj-2967aab.swf[/URL]
y aqui el codigo, el script no me da ningún error les agradeceria me ayudasen
Código:
time=new Date(); // time object
seconds = time.getSeconds()
minutes = time.getMinutes()
hours = time.getHours()

hours = hours + (minutes/60);

seconds = seconds*6; // calculating seconds
minutes = minutes*6; // calculating minutes
hours = hours*30; // calculating hours

sec._rotation=seconds; // giving rotation property
min._rotation=minutes; // giving rotation property
hour._rotation=hours; // giving rotation propert