This is my code:
onClipEvent(load) {
test = new Date();
}
onClipEvent(enterFrame) {
nSeconds = test.getSeconds();
trace(nSeconds);
}
But the output is always the same number the whole time. Is there anything wrong with my code?
This is my code:
onClipEvent(load) {
test = new Date();
}
onClipEvent(enterFrame) {
nSeconds = test.getSeconds();
trace(nSeconds);
}
But the output is always the same number the whole time. Is there anything wrong with my code?
Move test = new Date(); into the enterFrame instead of the load
:: Copyright KIRUPA 2024 //--