It is not clear if you are using the FLVPlaback component or have written
your own NetConnection and NetStream AS code.
For FLVPlayback you feed the rtmp URL to the contentPath property:
http://livedocs.macromedia.com/flash/8/main/00003539.html For AS code: you need to feed the rtmp string to the NetConnection object
ns = new NetStream(nc);
ns.setBufferTime(10);
my_video.attachVideo(ns);
nc = new NetConnection();
nc.connect("rtmp://influxiconnectstring/fmsappname");
nc.onStatus = function(info) {
out_txt.text+= info.code;
if (info.code == "NetConnection.Connect.Success") {
trace( "Connecting to server...Done!")
ns.play("yourFlvFileNameWithoutThe.flv"); // assumes the
streams/_definst_
} else {
trace("There has been a problem with the connection: "+info.code);
}
}
As well influxis provides components you can use to play your streams.
--
Lon Hosford
www.lonhosford.com May many happy bits flow your way!
[quoted text, click to view] "SteadiClarke" <webforumsuser@macromedia.com> wrote in message
news:e3qts7$60u$1@forums.macromedia.com...
Hi,
I built a website in Flash that contains a scene with a video jukebox that
is
fed by an external xml file... The xml file refers to flv files on the site
that are meant for progrssive download.
From the local machine the files load quickly... but when on the web,
they're
slow depending on the avail. bandwith and often they stop to rebuffer... a
little problematic...
So I would like to stream these videos.... So I purchased some streaming
space
with
http://www.influxis.com and created a separate (HTML) page that has
several flash video player components with links to the streaming video
files... it works (although I have to find a way to create better looking
FLVs)
- But how do I change my xml file, or whatever I have to change so that the
jukebox I created pulls the video from the streaming server instead?
Please Help.
Thanks.
Clarke