Hello,
Why does this not stop at 250?
code:
onClipEvent (enterFrame) {
_root.display = 0;
if (_root.display < 250) {
_root.display = (int(getTimer()/10));
} else {
_root.display = 250;
}
}
Thanks in advance!
Printable View
Hello,
Why does this not stop at 250?
code:
onClipEvent (enterFrame) {
_root.display = 0;
if (_root.display < 250) {
_root.display = (int(getTimer()/10));
} else {
_root.display = 250;
}
}
Thanks in advance!
getTimer will always return the time since the SWF started playing (in milliseconds) - there is no way to stop it...
If you need to check a set time, you will need to store it in a variable...
K.
actually i just need a variable that progressivly goes from 0 to 250 or whatever. I guess i could just ease an MC and get it's _x coordinates.
thanks