homepage Welcome to WebmasterWorld Guest from 54.226.10.234
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
Loading a FLV file and Error #2044
ruby5

5+ Year Member



 
Msg#: 3974034 posted 10:42 am on Aug 18, 2009 (gmt 0)

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 :)

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved