I had a kind of problem like that and the solution was;

myFLV.getVideoPlayer(myFLV.activeVideoPlayerIndex).close();

HTH
Cor

-----Original Message-----
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] 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: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of David Hunter
Sent: Monday, March 22, 2010 12:34 PM
To: flashcoders@chattyfig.figleaf.com
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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to