I need some help scripting a fast time calculator.
I am using (Adobe Animate CC 2015) with ( AS 3.0 )
I wanna make something like this :
I have 2 wall Clocks (CLOCK#1, CLOCK#2) .
the CLOCK#1 can by adjusted by entering a time numbers in ( INPUT TEXT ) underneath it, for examples if I enter 16:05 the (CLOCK ARROWS) will automatically match the numbers just after I finish enter the value in the ( INPUT TEXT ).
in the CLOCK#2 there will be a different case, the values of (CLOCK ARROWS) and ( DYNAMIC TEXT ) will be adjusted after I press a (CALCULATE) button.
The idea is that I need the CLOCK#2 change as following :
CLOCK#2 = CLOCK#1 + 30 min or 1 hour or any preferred value I want.
after press on (CALCULATE) button the values of CLOCK#2 (CLOCK ARROWS) and ( DYNAMIC TEXT ) will change +30 min of the CLOCK#1
Now for an example to make this more clear :
I open the swf/exe file and enter a value in CLOCK#1 ( INPUT TEXT ) as : 17:20
after I press (CALCULATE) button the CLOCK#2 will be set as : 17:50
and sure the (CLOCK ARROWS) will match the values
HOPE ITS NOT THAT HARD TO BE SCRIPTED !
