Thanks for reply. You got me thinking.... I changed the 2 lines you mentioned
connection_nc.connect("rtmp:PATH TO MY HOST"); //path to video hosting stream_ns.play("VIDEO NAME"); //actual video name (without .flv) Thanks! -Dan On 5/17/06 4:28 PM, "Marlon Harrison" <[EMAIL PROTECTED]> wrote: > If I remember right, this is incorrect: > > connection_nc.connect(null); > > connection_nc.connect(); should be somethign different whe you're > using a straming server. null is only for progessive download-encoded > flv's. > > Also, the ns.play() command for streaming cannot have the .flv at the > end. I think your code is for progessive flv playback. I may be wrong > but I remember something like that being an issue for me once. > > On 5/17/06, Dan Wade <[EMAIL PROTECTED]> wrote: >> Hello, >> >> I'm trying to build a simple vid player using the Video Object. I'm using a >> streaming flv from RTMP server. If I use one of the flash 7/8 vid components >> the flv plays fine but if I use: >> >> var connection_nc:NetConnection = new NetConnection(); >> connection_nc.connect(null); >> var stream_ns:NetStream = new NetStream(connection_nc); >> vid.attachVideo(stream_ns); >> stream_ns.play("rtmp://path to my .flv"); >> >> I get an error opening URL? >> >> >> Tia, >> >> -d >> >> _______________________________________________ >> Flashcoders@chattyfig.figleaf.com >> To change your subscription options or search the archive: >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> Brought to you by Fig Leaf Software >> Premier Authorized Adobe Consulting and Training >> http://www.figleaf.com >> http://training.figleaf.com >> > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com