0 Replies Latest reply on Jul 5, 2007 3:23 PM by foutuguy

    load dynamically flv files inside movieclip

      I am building a project with actionscript 2.0 only (project started before the last version of flash was released). I have a "test_mc" movie clip in which I want to load flv files. Inside this movie clip, I would then create dynamically other movieclips that would appear on the top of the video. This is what I am trying to do.
      I tried to load an flv file for the first time in a separate test fla file to start with. I put only this code on frame1, dropping also on the stage the instance "my_video" of a Video Object.:
      var my_nc:NetConnection = new NetConnection();
      var my_ns:NetStream = new NetStream(my_nc);
      my_ns.play(" http://localhost/myhome/pdescr.flv");
      var test:MovieClip = _root.createEmptyMovieClip("test_mc", 10);

      This small test works but If I debug, I do not see the video in the hierarchy of objects, which surprises me.
      question:. Is it technically possible to dynamically place the video inside the MovieClip "test_mc" at a certain depth and if yes, how? Or does an flv file has to appear always on the _root at a certain fix depth? Would AS3.0 change something?

      Thanks so much in advance for your help