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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delays and movie clips 1

Status
Not open for further replies.

Tommyhat

Programmer
Sep 10, 2004
96
CA
hey there, two things:

1. is there a delay or pause for x amount of miliseconds function in actionscript?

2. is there a way to keep a movie clip from looping? what i want to do is a box that when you mouse over moves out a little bit and when you mouse out it goes back to its place but not all jumpy like if i just changed the _x and _y. So on mousover it would play till the end and stay there, on mouse out it would play the movieclip in reverse.

Thanks!

---------------------------------------
2b||!2b that == the_question
 
1.

holdIt = setInterval("wait",2000)
//2 secs

function wait(){
clearInterval(holdit)
//do something now
}

2. dont understand the question
 
when you set a movie clip to plat, it plays and then loops back to the begining. i'd like it to stop at the end


---------------------------------------
2b||!2b that == the_question
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top