Try this script:
var d:Date = new Date();
trace(d.getHours());
You'll see that it gives 12 for times between noon and 1pm,
and 2 for times between 2 and 3am. That should help. The first time
it equates to 12 you start playing the movie, and as soon as it
then equates to 13, you stop playing the movie.