[flash8]preloader/progress bar for audio player

i have the play/pause, next, and previous buttons done for my audio player, which dynamically loads the mp3s from an xml file. i also have a volume slider. the next item i’m trying to make is a progress bar/preloader. i want this to show the user how much of the song is loaded, and i also want it to allow the user to drag the position of the song with what is currently loaded thus far. i also want to show the user how long the song has been playing. (a different element) if you know how to help me accomplish this that would be great!! please understand that my knowledge of actionscript is limited so bear with me

btw…what is the best way to include script in a post?