on 4/11/01 7:42 AM, Mark A. Boyd at [EMAIL PROTECTED] wrote:

> At 01:33 4/11/2001, Rodrigo Peres wrote:
>> hi to all,
>> 
>> How the best way to convert seconds to ticks?? I'm usinng th HMSToframes to
>> convert 00:00:13 to seconds and then put it * 60 to get the ticks, but it's
>> not working. What I really need is: my user type a time in format 00:00:00
>> and then I use the movietime property to change the position of a quicktime.
> 
> Use 60 for the tempo parameter:
> 
> -- Welcome to Director --
> put HMStoFrames("00:00:13",60,0,0)
> -- 780
> put HMStoFrames("00:00:01",60,0,0)
> -- 60
> put HMStoFrames("00:01:00",60,0,0)
> -- 3600
> 
> 
> 
> --
> Mark A. Boyd
> Keep-On-Learnin' :)
> 
> 
> [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!]
> 

-- 

Sorry, but I think I didn't understand. If i use put movietime in my movie o
13 seconds, director replies 824 ticks?????
-- put HMStoFrames("00:01:00",60,0,0) -- but It doesn't means one minute
(00:01:00)?? so how it marks 3600???

Thank's 

Rodrigo Peres


[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