Does anyone can tell the way of getting total duration of an flv file through action

[COLOR=red]Does anyone can tell the way of getting total duration of an flv file through action script 3.0 without using metadata event?[/COLOR] Actually I am using metadata and having problem in some special cases, therefore I want to know any other alternative way.