How to get sound duration?

i am loading mp3sounds .swf into empty movie clip how to get the sound duration of every song using dynamic text box…