If you want an incredibly simple example, Right click in your library and
select New Video (Actionscript controlled). Name it videoContainer.  Drag it
to your stage, and name the instance videoContainer.

In the actions on frame one put in:

var nc:NetConnection = new NetConnection();
nc.connect("rtmp://server/application");
var ns:NetStream = new NetStream(nc);
ns.setBufferTime(5);
videoContainer.attachVideo(ns);
ns.play("videofileyouwanttoplay.flv");



On 6/26/07, Ben Wade <[EMAIL PROTECTED]> wrote:

 I just need to know if there is a simple actionscript string of code out
there that will work with flash 8's flvplayers.  The flvplayers in flash 8
do not work with red5.

I've looked at the ofla_demo.fla action script and it is way more
complicating then what I need.  I just need to load one movie per player per
fla file, not a whole directory of movies that build a list and show all the
connectionstrings and allow you to connect or disconnect etc.  It would be
nice to where all I'd have to do is input the rtmp:// location and the
name of the player and flv file. I know it's required to use netstream and
netconnect but how does all of this get implemented in flash to work with
red5?



Regards,



Ben Wade



_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to