aha!!

I figured it out.

this is the code:

mediaplayer1.playlist.selectedIndex=(3);
mediaplayer1.loadSelectedItem();