D A V I D !!!!

You saved me !!!!!!!!!!!!!!!!!!
This did the trick:
myFLV.getVideoPlayer(myFLV.activeVideoPlayerIndex).close();


Man, I can't thank you enough!!!!

I have to buy you a beer... or a few at least.


Regards
Cor


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of David Hunter
Sent: donderdag 11 maart 2010 13:47
To: [email protected]
Subject: RE: [Flashcoders] FLVplackback problem


Can you not just have one flvplayback and then switch it visible=false when
it isn't needed and then make it visible=true and alter all its
settings(x,y,size etc if you need to change these) when it is required?
Do you need to have two videos playing at once?
I have used this bit of code to close flvplayback in sites that load
multiple swfs with an flvplayback instance in them:
myFLV.getVideoPlayer(myFLV.activeVideoPlayerIndex).close();
Otherwise the video audio persists playing though the video can't be seen
and I have removed it from the display list. Not sure if its best practice
but it has solved a problem before! Who knows it might free your audio
channels if they are being occupied by FLVs.
Best

> From: [email protected]
> To: [email protected]
> Subject: RE: [Flashcoders] FLVplackback problem
> Date: Thu, 11 Mar 2010 13:22:11 +0100
> 
> David, 
> Thanks for reacting.
> 
> Unfortuneatly this is not an option, because my app has an undefined
amount
> of levels/menus/pages where videos are to be shown.
> And because it is all dynamic, I need te create instances on the fly.
> And after that I clean them up, but in some way the SoundChannels are not
> cleared?
> 
> Regards
> Cor
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of David
Hunter
> Sent: donderdag 11 maart 2010 13:16
> To: [email protected]
> Subject: RE: [Flashcoders] FLVplackback problem
> 
> 
> you only have one instance of FLVPlayback and play all the videos through
> that?
> 
> > From: [email protected]
> > To: [email protected]
> > Subject: RE: [Flashcoders] FLVplackback problem
> > Date: Thu, 11 Mar 2010 12:54:37 +0100
> > 
> > Anyone??????????????
> > ----------------------------
> > 
> > Yes, I know.
> > But how do I free them??
> > 
> > -----Original Message-----
> > From: [email protected]
> > [mailto:[email protected]] On Behalf Of Henrik
> > Andersson
> > Sent: woensdag 10 maart 2010 12:49
> > To: Flash Coders List
> > Subject: Re: [Flashcoders] FLVplackback problem
> > 
> > Cor wrote:
> > > It seems that after instanciating 32 FLVPlayback my SoundFacade
crashes.
> > 
> > What a coincidence, the Flash sound mixer only supports 32 sound 
> > channels at once.
> > 
> > _______________________________________________
> > Flashcoders mailing list
> > [email protected]
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > No virus found in this incoming message.
> > Checked by AVG - www.avg.com 
> > Version: 9.0.733 / Virus Database: 271.1.1/2732 - Release Date: 03/09/10
> > 08:33:00
> > 
> > _______________________________________________
> > Flashcoders mailing list
> > [email protected]
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > No virus found in this incoming message.
> > Checked by AVG - www.avg.com 
> > Version: 9.0.733 / Virus Database: 271.1.1/2735 - Release Date: 03/10/10
> > 20:33:00
> > 
> > _______________________________________________
> > Flashcoders mailing list
> > [email protected]
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>                                         
> _________________________________________________________________
> Send us your Hotmail stories and be featured in our newsletter
>
http://clk.atdmt.com/UKM/go/195013117/direct/01/____________________________
> ___________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 9.0.733 / Virus Database: 271.1.1/2735 - Release Date: 03/10/10
> 20:33:00
> 
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
                                          
_________________________________________________________________
Got a cool Hotmail story? Tell us now
http://clk.atdmt.com/UKM/go/195013117/direct/01/____________________________
___________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 9.0.733 / Virus Database: 271.1.1/2735 - Release Date: 03/10/10
20:33:00

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to