Hi David, I didn't see it was you. :-) In fact it was you who gave me this solution a few days ago
The FLVplayback has a reconnected() function. Called by the VideoPlayer object to ask for reconnection after the connection is lost. Once the connection is either successful or failed, call the VideoPlayer.ncReconnected() method. If the connection failed, set nc = null before calling. HTH Cor -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of David Hunter Sent: maandag 22 maart 2010 22:13 To: [email protected] Subject: RE: [Flashcoders] flv stop loading / close netconnection Thanks Cor, I've used that sort of call when stopping an flv from playing when closing a loaded swf. But in this case I need to be able to reconnect the flv again, I'm not disposing of the FLVPlayback. All I want to do is stop the progressive download but this seems difficult to do from an instance of FLVPlayback! Cheers > From: [email protected] > To: [email protected] > Subject: RE: [Flashcoders] flv stop loading / close netconnection > Date: Mon, 22 Mar 2010 21:35:29 +0100 > > I had a kind of problem like that and the solution was; > > myFLV.getVideoPlayer(myFLV.activeVideoPlayerIndex).close(); > > HTH > Cor > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Mattheis, > Erik (MIN - WSW) > Sent: maandag 22 maart 2010 21:32 > To: Flash Coders List > Subject: RE: [Flashcoders] flv stop loading / close netconnection > > >I need to use myFLV.getVideoPlayer(0).close() to stop the download > > Try myFLV.closeVideoPlayer() > > _ _ _ > Erik Mattheis > Senior Web Developer > Minneapolis > T 952 346 6610 > C 612 377 2272 > > Weber Shandwick > Advocacy starts here. > > PRWeek Global Agency Report Card 2009 - Gold Medal Winner > The Holmes Report Global Agency of the Year > PR News Agency of the Year > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of David Hunter > Sent: Monday, March 22, 2010 12:34 PM > To: [email protected] > Subject: [Flashcoders] flv stop loading / close netconnection > > > Hi list, . Reeeeeallly hoping for some help on this.. Making a portfolio > site that handles both images and video. I have an flv instance and a sprite > that contains loaded images. Images and videos work fine. The problem is if > I try to go to an image half way through a video downloading. in that > situation i jump to the image and once the video has finished downloading it > suddenly appears. Going from video to video (halfway through a download) is > fine as the source is being overwritten each time but when it comes to an > image I need to use myFLV.getVideoPlayer(0).close() to stop the download. > That works ok except if I try to go back to the same video which download I > terminated then it says "Error: Cannot call reconnect on an http > connection" . I cannot set the source to be "" or null either or it pulls an > error. . Can anyone give me any help on stopping an FLV from loading once > you have set the source and then being able to restart that download? . > Thanks in advance, > David > _________________________________________________________________ > We want to hear all your funny, exciting and crazy Hotmail stories. Tell us > now > http://clk.atdmt.com/UKM/go/195013117/direct/01/____________________________ > ___________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > Geen virus gevonden in het binnenkomende-bericht. > Gecontroleerd door AVG - www.avg.com > Versie: 9.0.791 / Virusdatabase: 271.1.1/2763 - datum van uitgifte: 03/22/10 > 08:33:00 > > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _________________________________________________________________ Do you have a story that started on Hotmail? Tell us now http://clk.atdmt.com/UKM/go/195013117/direct/01/____________________________ ___________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.791 / Virusdatabase: 271.1.1/2763 - datum van uitgifte: 03/22/10 08:33:00 _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

