"sound bars" with AS?

hi guys… i was wondering how could you achieve the efect of “sound bars” used with music players with only AS. (if its posible) Here’s an example of what I ask, it apears once the music starts to play and on the far left of the music player… i want to create such efect and be able to make it smaller until it reaches certain point once i drag the volume slider like on the example before… can anyone help me???

:link: