Question regarding Media files

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Remog
Posts: 4
Joined: Tue Jun 04, 2013 9:09 pm

Question regarding Media files

Post by Remog » Tue Jun 04, 2013 9:18 pm

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?

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Question regarding Media files

Post by Simon » Wed Jun 05, 2013 8:12 am

Hi Remog,
Welcome to the forum :)

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

Don't forget to use "timeScale"

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Remog
Posts: 4
Joined: Tue Jun 04, 2013 9:09 pm

Re: Question regarding Media files

Post by Remog » Wed Jun 05, 2013 1:46 pm

can you elaborate on the timeScale piece?

Klaus
Posts: 14190
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Question regarding Media files

Post by Klaus » Wed Jun 05, 2013 2:08 pm

Can you look up "timescale" in the dictionary? 8-)

Post Reply