View Full Version : Is it possible? Video Help.

07-02-2007, 12:54 PM
I am trying to associate a media controller to a video object. Is this possible? Ive tried associating it with a behavior but no go.

If this cant be done, can how can I change the following code to send the video to a media display so I can use the controller?

(Please note that videos are external coming from an xml feed.)

var nav = list.dataProvider[list.selectedIndex];
nc = new NetConnection(); //create a connection
nc.connect( null ); //null connection for progressive download
ns = new NetStream(nc); //create a stream
video.attachVideo(ns); //pipe stream to this video object