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!**************
**