I try to make a video player using NetStream, NetConnection
and Video all from flash.
My problem is that I don't know how to get totalTime for a
video, can anybody help me with that? I work with Flex 2.
I use that for the initialization for NetStream,
_netConnection = new NetConnection();
_netStream = new NetStream(_netConnection);
_video = new Video();
_client = new Object();
_netStream.client = _client;
_client.onMetaData = onNetStreamMetaDataCallback;
This is for metadata, this suppose to give me the information
about the video and totalTime, but I put a breakpoint here and
never stop wit debug:
private function onNetStreamMetaDataCallback
The path for video is a local path, a video file flv in my