|
-
 Originally Posted by dawsonk
You can pass parameters through the setInterval function...
Code:
var nInterval = setInterval(Pause, 3000, mcToPlayNameHere);
function Pause(mc) {
clearInterval(nInterval);
mc.play();
}
Passing this thru setInterval did indeed work.
Thanks!
Still find it a little strange that a function has no awareness of the item that called it. Or am I just thinking of this wrong?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|