Adding to an array

This is sort of a snippet of my initial question, but I have a slider and I want to capture it’s location in an array every time it’s moved. So, eventually, I can have an mp3 or flv file play and when the user moves the slider, i can get the info like [ slider=60 mp3time=00:15 ] Where the slider would be a rating scale - the user took it up to 60 at 00:15 into the mp3. Please help!