ok call me stuuupid

but I am sure this is simple, but can't seem to get it to work, in AS3


I just want to have a button play an item in the media player playlist, for example, index 3.

the media player is 'mediaplayer' and the button is 'btn3'
so I tried this:


------------------AS3--------------

btn3.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler31);
function mouseDownHandler31(event:MouseEvent):void {
mediaplayer.play(playlist.selectedIndex,'3');
}

---------------------------

also tried this:


-------------------

btn3.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler31);
function mouseDownHandler31(event:MouseEvent):void {
mediaplayer.playlist.selectedIndex.play(3);
}


-----------------

grrrr


I know I am using wrong syntax, I do not know AS3


any help is appreciated

cheers