Getting the total Duration of a Movie

I have a video object attached to my flash and I want to display a time readout of how far into the video has been played. I know I need a dynamic text field, but I cannot find any methods of the NetStream that gets the total duration.