Welcome to WebmasterWorld Guest from 54.166.224.46

Forum Moderators: open

Message Too Old, No Replies

Loading a FLV file and Error #2044

     
10:42 am on Aug 18, 2009 (gmt 0)

5+ Year Member



Hi there,

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();
nc.connect(null);

var ns: NetStream = new NetStream(nc);
myVideo.attachNetStream(ns);

var listener:Object = new Object();
listener.onMetaData = function(md:Object):void{};
ns.client= listener;

ns.play("surfing.flv");

. I hope you can help me to find the key of the problem!

Thanks in advance flash users :)

 

Featured Threads

Hot Threads This Week

Hot Threads This Month