FMX: Novice needs help!

I’m new to this actionscripting and I have a couple things I’m stuck on. I’m trying to do a project that contains some sort of music that you can change the tempo and have some kind of colors that changes in sync with the beat of the music. Can anyone help me?