# Alarmclock

**URL:** <https://forum.kirupa.com/t/alarmclock/57375>\
**Category:** Uncategorized\
**Created:** [July 12, 2004, 7:36pm UTC](https://forum.kirupa.com/t/alarmclock/57375 "2004-07-12T19:36:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![valpez1](https://avatars.discourse-cdn.com/v4/letter/v/958977/32.png) [@valpez1](https://forum.kirupa.com/u/valpez1)\
**Post date:** [July 12, 2004, 7:36pm UTC](https://forum.kirupa.com/t/alarmclock/57375/1 "2004-07-12T19:36:54Z")

</div>

Hello Kirupians,  
I’ve been working on an idea as\_clark once had and made an incredible example of. It was a clock that “dongs” a specific number of times according to what hour it is. Very neat. :thumb:

But, what i’m now trying to do is change it up a little, and have the “dong” or alarm go off when a certain hour is hit, not at every hour. I tried using an if statement, but that is not working for some reason.

You can take a look at the fla to see my problem.  
[here is the fla](http://www.snorepez.com/alarmclock.fla)

takecare

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 17, 2004, 5:52pm UTC](https://forum.kirupa.com/t/alarmclock/57375/2 "2004-07-17T17:52:53Z")

</div>

> Not Found  
> The requested URL /alarmclock.fla was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.  
also… in the thread… posted by me actually…

> [@"Prophet."](#):
>
> ```auto
> if(endHour == _root.hour && endMin == _root.min){
> alarm.start(0,1)
> }
> 
> ```

just make sure you define endHour and endMin… also dates can be checked or times can be dynamically set by the user etc etc

Prophet.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 17, 2004, 9:48pm UTC](https://forum.kirupa.com/t/alarmclock/57375/3 "2004-07-17T21:48:29Z")

</div>

Hi, prophet.

I actually figured it out myself after a long while…so, that’s why the file can’t be found.

Thanks for the help, though. :thumb:
