Forum Moderators: open
I want to descripbe my Problem by steps, just to be clear and everyone can understand the issue:
1- I want to load a flv file (using ActionScript 3.0)
2- This flv or flash movie file is inside a movie clip and this one is also inside another movie clip.
2.1 - So, a (movie clip that contain the flv)--> inside -->( the main movie clip).
3- when I test the movie I get the folowing error and the video is not playing:
Error #2044: NetStatusEvent non pris en charge : level=error, code=NetStream.Play.StreamNotFound at index_fla::About_8/index_fla::frame1()
4- I'm using a Video object from the library instead of the component and give it the instance name of myVideo.
5- Here is the code I'm using:
var nc: NetConnection = new NetConnection(); var ns: NetStream = new NetStream(nc); var listener:Object = new Object(); ns.play("surfing.flv");
nc.connect(null);
myVideo.attachNetStream(ns);
listener.onMetaData = function(md:Object):void{};
ns.client= listener;
. I hope you can help me to find the key of the problem!
Thanks in advance flash users :)