Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Supporting Technologies > Flash Media Server

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-18-2004, 04:23 AM   #1
aboans
Flash Seeker
 
Join Date: Feb 2003
Location: Egypt
Posts: 60
Default Play FLV File

on (release) {

var netConn:NetConnection = new NetConnection();

netConn.connect(null);

var netStream:NetStream = new NetStream(netConn);
netStream.onStatus = function(infoObject) {
status.text += "Status (NetStream)"+newline;
status.text += "Level: "+infoObject.level+newline;
status.text += "Code: "+infoObject.code+newline;
};

my_video.attachVideo(netStream);

netStream.setBufferTime(5);

netStream.play("04_56k.flv");
}

I have this code on a button to play a FLV File this code work nice on the local machine, but it doesn't work on the web .

anyone can Help me
aboans is offline   Reply With Quote
Old 05-31-2005, 07:42 PM   #2
barkgora
Registered User
 
Join Date: Jun 2004
Posts: 1
Default

I'm going through some similar pain. One thing to try is to NOT include the file extension in the flv reference, "movie" not "movie.flv".
barkgora is offline   Reply With Quote
Reply


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 07:15 PM.


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