Comunidad de diseño web y desarrollo en internet online

Ayuda con rebobinacion de video streaming

Citar            
MensajeEscrito el 14 Jul 2009 07:28 pm
estoy haciendo una pagina con un video de fondo, q sea ajustable, eso ya me quedo al 100% solo que tengo el problema que no se me rebobina el video y ya he intentado muchas cosas y nada, queria ver si alguien me puede hechar una mano, este es mi codigo fuente para mi video

Código ActionScript :

Stage.align = "TL";
Stage.scaleMode = "noScale";
Stage.showMenu = false;
var timeline:MovieClip = this;
var _minW:Number = 360;
var _minH:Number = 204;

var video_container:MovieClip = timeline.attachMovie ('video_container', 'video_container', timeline.getNextHighestDepth ());

function onResize ()
{
   var scaleY:Number = Math.round (120 * (Stage.height) / _minH);
   var scaleX:Number = Math.round (100 * (Stage.width) / _minW);
   
   var scaleFactor:Number = Math.min (scaleY, scaleX);

   if (scaleFactor > 100) video_container._xscale = video_container._yscale = scaleFactor;

   video_container._x = Math.round ((Stage.width / 2) - (video_container._width / 2));
   video_container._y = Math.round ((Stage.height / 2) - (video_container._height / 2));
}

var connection_nc:NetConnection = new NetConnection ();
connection_nc.connect (null);
var stream_ns:NetStream = new NetStream (connection_nc);
video_container.my_video.attachVideo (stream_ns);
video_container.my_video.smoothing = true;
stream_ns.play ("video.flv");



Stage.addListener (this);

onResize ();

Por vinsed

63 de clabLevel



 

firefox
Citar            
MensajeEscrito el 16 Jul 2009 12:50 pm
Pero no veo ningún código que intente rebobinar .... ¿que es lo que has intentado ?

Jorge

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.