Hi friends,

I have the following strange problem:

I have a index.fla and a Application.as. the index.fla contains a movieclip
exported for actionscript name "test". it contains a VideoObject with
instance name "testVideo"
In the external Application class I attach the movieClip to the stage. I can
trace the videoObject but the flv won't load.
The funny thing is that when I do this all directly on the timeline it works
fine...


The code in the class:

       var test_p:MovieClip = _root.attachMovie("test", "test_mc", 10);
       var my_nc = new NetConnection();
       my_nc.connect(null);
       var my_ns = new NetStream(my_nc);

       test_p.testVideo.attachVideo(my_ns);
       my_ns.play("movies/mini_1.flv");


Anyone a suggestion?

Kind Regards,

Tom
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to