Try:

member("real cast member").duration

In order for this to work, you *must* first play the video. Remember that this is a 
streaming (always) media type and information such as its duration isn't known until 
streaming has begun. Therefore if you need to write some code that is dependant upon 
the duration, either write it such that you query the duration after playback of the 
member has begun and then store that in a variable, or play the member in authoring 
and hardcode the duration value.

Cheers,
Tom

> -----Original Message-----
> From: Joris [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 26, 2001 7:40 AM
> To: [EMAIL PROTECTED]
> Subject: <lingo-l> Real duration
> 
> 
> HI there,
> 
> anyone got an idea of how to get the duration of a Real media file in 
> Director ?
> ...
> 
> 
> 
> 
> thanx j.
> -- 
> --------------------------------------------------------
> Joris Sewandono               ReloadMedia
> 
> Tel:  +31.6.24235496
> mail:         [EMAIL PROTECTED] http://www.siroj.net
>       [EMAIL PROTECTED] http://www.jamby.net
> --------------------------------------------------------
> 
> [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!]
> 

[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