Page 1 of 1

Question regarding Media files

Posted: Tue Jun 04, 2013 9:18 pm
by Remog
I am trying to figure out if this is doable:

I am using a player to play a list of files from a directory. (so far so good).

I would like to have a text box run the current time index of the file (ie number of seconds in/remaining)..

something like:

Code: Select all

update field "field" with currentTime of player "Player" 
Not sure where to go with this, can this be done?

Re: Question regarding Media files

Posted: Wed Jun 05, 2013 8:12 am
by Simon
Hi Remog,
Welcome to the forum :)

Try:
put the currentTime of player "Player" into field "field"

Don't forget to use "timeScale"

Simon

Re: Question regarding Media files

Posted: Wed Jun 05, 2013 1:46 pm
by Remog
can you elaborate on the timeScale piece?

Re: Question regarding Media files

Posted: Wed Jun 05, 2013 2:08 pm
by Klaus
Can you look up "timescale" in the dictionary? 8-)