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!

getTimer()...

Status
Not open for further replies.

BigBadDave

Programmer
May 31, 2001
1,069
EU
...How do you set getTimer() back to 0 during onClipEvent (enterFrame) ?? Regards

Big Dave

davidbyng@hotmail.com


** If I am wrong I am sorry, but i'm only trying to help!! **

 
Want I want to do is count up to a number say 7000 do something, then set the count from 0 again Regards

Big Dave

davidbyng@hotmail.com


** If I am wrong I am sorry, but i'm only trying to help!! **

 
Its ok I figured it out :

Code:
if (Number(_root.Timer)>0) {
		_root.Timer = _root.Timer-0.05;
		_parent.time = _root.Timer;
	} else {
		_parent.line1.gotoAndPlay(22);
		_root.Timer = 10;
	}
Regards

Big Dave

davidbyng@hotmail.com


** If I am wrong I am sorry, but i'm only trying to help!! **

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top