RTMP issues with FLV

Advertisement
I'm trying to stream an FLV to my flashlite 3.0 application,
but it's not working and I'm seeing conflicting "answers" on the
web about how to correctly stream using rtmp.
Part of the code is displayed below... anyone have any
advice?
if (_parent.firstRun == true)
trace ("this calls video")
_parent.firstRun = false;
nc = new NetConnection();
nc.connect("rtmp://xxxxx.xxx.com:1935/vod/sb_test/");
//"xxx" is a Flash Media Server.
playvid();
function playvid()
ns = new NetStream(nc);
vid_home.attachVideo(ns); //vid_home is the instance name of
the video component on stage.
ns.play("mobileflv150kbps");
}
Advertisement

Replay

Check out this article..
http://nhippe.com/2008/04/22/flash-lite-3-and-flash-media-server-video/
Mark
www.flashmobileblog.com