Help...
I need to play a sound at specified time intervals. Specifically I would like to create a tick-tock sound every second. I just can't seem to figure out how to do this. Below is the actionscript I have created so far. You will probably laugh when you read it, but, this is actually the first time I have tried it.....so don't laugh too hard...
icncDate = new Date()
seconds = icncDate.getSeconds()
minutes = icncDate.getMinutes()
hours = icncDate.getHours()
if (seconds<10) {
seconds = "0" + seconds
};
if (minutes<10) {
minutes = "0" + minutes
};
icncTimeTextField = (hours + ":" + minutes + ":" + seconds);
tick = new Sound ();
tick.attachSound(tick);
Not sure what to do now...Thanks in advance....
erik Erik Rudnick, CCIE No. 9545
mailto:erik@kuriosity.com
I need to play a sound at specified time intervals. Specifically I would like to create a tick-tock sound every second. I just can't seem to figure out how to do this. Below is the actionscript I have created so far. You will probably laugh when you read it, but, this is actually the first time I have tried it.....so don't laugh too hard...
icncDate = new Date()
seconds = icncDate.getSeconds()
minutes = icncDate.getMinutes()
hours = icncDate.getHours()
if (seconds<10) {
seconds = "0" + seconds
};
if (minutes<10) {
minutes = "0" + minutes
};
icncTimeTextField = (hours + ":" + minutes + ":" + seconds);
tick = new Sound ();
tick.attachSound(tick);
Not sure what to do now...Thanks in advance....
erik Erik Rudnick, CCIE No. 9545
mailto:erik@kuriosity.com