Comunidad de diseño web y desarrollo en internet online

reproducir video indefinidamente con as3

Citar            
MensajeEscrito el 10 Sep 2012 04:26 pm
hola, ante todo gracias por su ayuda, pero tengo este problema:

1- Cargo un video con as3 y lo coloco dentro de un moviclip:

var nc:NetConnection = new NetConnection();
nc.connect(null);

var ns:NetStream = new NetStream(nc);
ns.client = this;
ns.play("video.flv");

var vid:Video = new Video();
vid.attachNetStream(ns);
vid.width = 760;
vid.height = 428;
cont.addChild(vid);

2- Hasta aca todo bien, pero lo que quiero es que se reproduzca indefinidamente, o sea cuando llega al final que vuelva e empezar, el video dura 30 segundos. muchas gracias

Pd: busque por todos lados pero no lo pude solucionar

Por rigonatto

9 de clabLevel



Genero:Masculino  

firefox
Citar            
MensajeEscrito el 10 Sep 2012 05:37 pm

Por solisarg

BOFH

13669 de clabLevel

4 tutoriales
5 articulos

Genero:Masculino   Bastard Operators From Hell Premio_Secretos

Argentina

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.