Hi my name is Erin. I'm using AS3 and creating video objects using only code. I want to be able to have certain events happen on rollOver, as you can do with a movie clip instance, but don't know how to do this if I have to call up the flv files from a remote location.

Thank you!

stop();

var vid1:Video = new Video(220, 720);
vid1.x = 0;
vid1.y = 0;

addChild(vid1);

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

var ns1:NetStream = new NetStream(nc);
vid1.attachNetStream(ns1);

var listener:Object = new Object();
listener.onMetaData = function(evt:Object):void {}
ns1.client = listener;

ns1.play("beach_01.flv");