Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

netstream

Status
Not open for further replies.

Moooink

Technical User
Feb 22, 2002
48
0
0
US
Ok now a real question. Trying to dynamically load .flv files. I've used the actionscript example from macromedia's site and it seems to be loading correctly. But only the audio is playing. My display link appears to be correct, but I cannot figure out why it is not playing the video. here is my code:

var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
display.attachVideo(ns); // my_video is a Video object on the Stage
ns.play("laura.flv");

my display is called display, but all i hear is the audio from laura.flv. also. the linked mediacontroller no longer controls anything.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top