gracias por la respuesta pero... si uso este codigo me da error
Código ActionScript :
import fl.video.VideoEvent;
my_FLVPlayback.autoRewind=true;
function otro(event:VideoEvent):void {
my_FLVPlayback.play("videos/02.flv");
}
my_FLVPlayback.addEventListener(VideoEvent.COMPLETE, otro);
var listado:Array = ["03.flv", "04.flv", "04.flv"];
counter:int = 0;
function again(event:VideoEvent):void {
my_FLVPlayback.play(listado[++count]);
}
si lo pongo de esta manera me da error
Código ActionScript :
import fl.video.VideoEvent;
my_FLVPlayback.autoRewind=true;
var listado:Array = ["03.flv", "04.flv", "04.flv"];
counter:int = 0;
function again(event:VideoEvent):void {
my_FLVPlayback.play(listado[++count]);
}
my_FLVPlayback.addEventListener(VideoEvent.COMPLETE, again);
y de esta forma me dice que tengo un duolicado... digo.. por razones obias pero de todas formas lo puse para probar y nada

Código ActionScript :
import fl.video.VideoEvent;
my_FLVPlayback.autoRewind=true;
function otro(event:VideoEvent):void {
my_FLVPlayback.play("videos/02.flv");
}
my_FLVPlayback.addEventListener(VideoEvent.COMPLETE, otro);
var listado:Array = ["03.flv", "04.flv", "04.flv"];
counter:int = 0;
function otro(event:VideoEvent):void {
my_FLVPlayback.play(listado[++count]);
}
y estos son los errores que manda en los dos primeros ejemplos.
Código :
Scene 1, Layer 'Layer 2', Frame 1, Line 13 1120: Access of undefined property count.
Scene 1, Layer 'Layer 2', Frame 1, Line 11 1067: Implicit coercion of a value of type int to an unrelated type Class.
Scene 1, Layer 'Layer 2', Frame 1, Line 11 1188: Illegal assignment to class int.