# Help: Simple back and skip track button (video player)

**URL:** <https://forum.kirupa.com/t/help-simple-back-and-skip-track-button-video-player/277047>\
**Category:** flash\
**Created:** [December 6, 2008, 7:14pm UTC](https://forum.kirupa.com/t/help-simple-back-and-skip-track-button-video-player/277047 "2008-12-06T19:14:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![giveyadogabone](https://avatars.discourse-cdn.com/v4/letter/g/df788c/32.png) [@giveyadogabone](https://forum.kirupa.com/u/giveyadogabone)\
**Post date:** [December 6, 2008, 7:14pm UTC](https://forum.kirupa.com/t/help-simple-back-and-skip-track-button-video-player/277047/1 "2008-12-06T19:14:35Z")

</div>

Hi, I used the tutorial provide by Lee to create a video player with xml. I used the **same instance names** (videolist etc.) and have been running into trouble creating only a **skip button** (to the next video) and **back button** (to the previous video). Before I ask questions, I usually try to search first and found two ways to do it but **neither have worked for me.**

The first way:  
ffwd\_btn.onRelease=function(){  
if(videoList.selectedIndex \>= 13){  
videoList.selectedIndex = 0;  
}else{  
videoList.selectedIndex +=1;  
}  
};

The second way:  
forward.onRelease=function(){  
v = whoIsOn+1  
if (v \>= listClips.length ) {  
v = 0;  
}  
getNewVid(listClips[v]);  
};

Any help would be much appreciated, thanks guys!\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
\*\*
