Does anyone know a way to dynamically create or attach a Video_Object? (flash 8)

I have made a movieclip in the library containing a Video_Object, attaching that MC and doing the netstream/flv load on it. What is happening is I can hear the audio of the flv playing, but cannot see it.

// videoMC is mc in library containing Video_Obect with instance "my_video" this.attachMovie("videoMC", "video_mc", this.getNextHighestDepth ());
    // Create a NetConnection object
     var my_nc:NetConnection = new NetConnection();
    my_nc.connect(null);
    var my_ns:NetStream = new NetStream(my_nc);
    // Attach the NetStream video feed to the Video object
    video_mc.my_video.attachVideo(my_ns);
    // Begin playing the FLV file
     my_ns.play(target);

I can hear the video playing, but it is not visible.. strange
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to