Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

time intervals?!

Status
Not open for further replies.
I use this for time scripts :

onClipEvent(load) {
var total = 0;
var timer = 0;
var increment = 0.01;
var interval = 10;
}
onClipEvent(enterFrame) {
if (!(timer>interval)) {
timer += increment;
} else {
duplicateMovieClip(_root.clip, "clip"+total, total);
total++;
}
} Regards

Big Bad Dave

davidbyng@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top