this.rawchildren.addChild(video);

i think you have to use raw child methods for non UI components ( like this
video ).

On Feb 1, 2008 12:07 AM, flexawesome <[EMAIL PROTECTED]> wrote:

>
> 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);
> }
>
>  
>



-- 


Regards,
Yogesh

Reply via email to