Hey there,

I am using as3 to add my video object on Stage, I can hear the sound
but not video shows up.. anything wrong?

Thank you

=================

       private function connectStream():void
        {
        //var videoHolder:UIComponent = new UIComponent();
            stream = new NetStream(connection);
            //stream.client = new Object();
            //stream.addEventListener(AsyncErrorEvent.ASYNC_ERROR,
asyncErrorHandler);
            
            video = new Video();
            video.attachNetStream(stream);
            video.x = 0;
                        video.y = 0;
            stream.play(videoUrl);


         //videoHolder.addChild(video);
         addChild(video);
        }

Reply via email to