From: MughalShahzad on
global vDuration, vFrameLabel, SoundMemList, vSplitDur, vSplitMem,

property pSoundChannel
property pSoundMember
property pCurrentTime

on beginSprite me
pSoundMember = member(vSplitMem)
pSoundChannel = sound(1)
pSoundChannel.queue(pSoundMember)
end
on prepareFrame me
if pSoundChannel.isBusy() then
pCurrentTime = pSoundChannel.currentTime
percentPlayed = pCurrentTime / float(vSplitDur)
end if
member("Duration").text=EMPTY
member("Duration").text= string(abs(percentPlayed))
end

I want to convert the value of pCurrentTime into seconds.

Regards
Shahzad

From: Rob Dillon on
The currenttime property is expressed in milliseconds. So, to get seconds, divide the value by 1000.