netStream seek based on previous flv
Hey guys so here's something I'm trying to do.
I have a series of movie clips (flv's). All are the same movie clip of a rotating object but it's different colour in each clip.
When one clip is playing and I click to play another, I would like the clicked movie clip to start playing from the same position at which the previous clip was at. So if a clip had played for 3 seconds and I click a different clip, I would like it to seek and play from 3 seconds instead of 0.
So I've figured that I will need this for the play function of my clips:
PHP Code:
NetStream.seek(NetStream.time + "receive position in seconds of current playing video")
Can anyone tell me how I would go about tracking the data of how many seconds of a clip has played?
My guess is that it will either be metadata or NetStatusEvent related.