This content has been marked as final. Show 3 replies
Is there a time property?
hmm that would explain things.
I guess my real question then is: how do I know when the flv has finished playing. I'd like to start a new one after that...
Is there some other way to achieve this? We are using a regular server (progressive download).
Do I need to use the netStream class?
Any leads or insight appreciated.
You need to read the help files.
I take it you are using the playback component under Flash 8? I only have Flash 7 so I don't know exactly what it is called in your version, but in my version there is a component dictionary for the media playback components. Don't try and use the search – it will only confuse you. Instead just find the component dictionary and the entries for the component. There you will find all the properties, methods, and events that are available.
So to answer your first question, I think there is a Media.playheadTime property. That should give you what you were originally asking for.
But that isn't probably what you need to do what you have mentioned in your second post. In that case check out the Media.complete method. There is sample code.