Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 06-09-2004, 11:54 PM   #1
Registered User
Join Date: Jun 2004
Posts: 6
Default First frame of FLV is displayed, nothing further

Hi All,

Anyone faced this problem......

Just trying to work with the FlashCom Server so I have been developing a lot of sample and demo applications. This time I wanted to try Video Streaming. I created an FLV file, but for some reasons it did not work (may be some problem with encoding, but when I import the same file on the stage it works perfectly). Then I took sample FLV files from an article and tried to work with that......

Initially even with that file I could not get any output and then I learnt that I need to add a MIME type in Apache (which I did)....... afterwhich I could get to see the first frame of the FLV file....... The problem is that it does not work any further...... No output after the first frame.... tried everything..... nothing works.

This is the code:


#include "NetDebug.as"
nc=new NetConnection();

nc.onStatus = function(infoObject) {

NewStream=new NetStream(nc);
NewStream.onStatus = function(infoObject) {
text_txt.text += "NewStream Object"+newline;
text_txt.text += "Level: "+infoObject.level + newline;
text_txt.text += "Code: "+infoObject.code + newline;

Can anyone please help.

Sunil Bhatia
sunilbhatia is offline   Reply With Quote
Old 06-12-2004, 04:56 PM   #2
One of many
Join Date: Sep 2002
Location: phoenix
Posts: 268


i tested your code after not seeing anything wrong with it and it worked just fine, so your good there. the only thing i could say would be the problem would be the flv itself. maybe recompile them again, or maybe you have a serverside script(main.asc) that needs to be restarted?
exactpixel is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 10:28 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.