I am trying to create embedded video objects using CreateClassObject but they
don't even seem to be created. The code I am using is:
testVideo = createClassObject(Video, "testVideo", 5, {x:10, y:10});
// Create a NetConnection object
var my_nc:NetConnection=new NetConnection();
my_nc.connect(null);
var my_ns:NetStream=new NetStream(my_nc);
my_ns.setBufferTime(5);
testVideo.attachVideo(my_ns);
my_ns.play("test.flv");
If I comment out the createClassObject call and create a Video on the stage
and call it testVideo it all works fine.
Any ideas?
littlephil - 30 Jun 2005 19:36 GMT
Anyone got any ideas, really stuck with this one.