Hello. I need some math help.

I need to compute remaining time based on
a total frame count compared to the current frame.
It's a 10fps movie.  

Here's the elapsed time script.

on computeTime
  tmp = integer(the frame/10)
  tsec = integer(tmp-(60*(integer(tmp/60))))
  min = integer(tmp/60) 
  if (tsec < 10) then
    sec = "0" & tsec
  else
    sec = tsec
  end if
end

So, how do I take this script and make it
so that it shows remaining time, using a
variable for totalFrames?  I'm quite tired
and can't figure it out.

Thanks in advance,
Steven Sacks
[EMAIL PROTECTED]

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to