Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/03/2013, 08:44
rakatan
 
Fecha de Ingreso: agosto-2012
Mensajes: 9
Antigüedad: 11 años, 8 meses
Puntos: 1
Solucionado!!!!!!!!!!!!!!!

FUNCION STATUS
ns.onStatus = function(info)
{
if (info.code == "NetStream.Play.Stop")
{
currentVideo++;
if (currentVideo >= myVideo.length)
{
currentVideo = 0;
}
ns.play(myVideo[currentVideo]);
}
};
/////////////////////////////////////////////////////////////////////////////////////////////
LOS BOTONES
btn_anterior.onRelease = function()
{
currentVideo--;
if (currentVideo == -1)
{
currentVideo = myVideo.length - 1;
}
ns.play(myVideo[currentVideo]);

};
/////////////////////////////////////////////////////////////////////////////////////////////
btn_proximo.onRelease = function()
{
currentVideo++;
if (currentVideo >= myVideo.length)
{
currentVideo = 0;//
}
ns.play(myVideo[currentVideo]);


};

Rakatan