I do use a separate class for the sounds:
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf
351e63e3d118a9b90204-7d09.html




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


I haven't run into your problem yet but I just finished a website which
played video and mp3 and played the video through FLVPlayback and built a
separate player for the sounds using Sound and SoundChannel classes. Maybe
that might help.

> From: [email protected]
> To: [email protected]
> Date: Wed, 10 Mar 2010 10:55:23 +0100
> Subject: [Flashcoders] FLVplackback problem
> 
> Hi list,
> 
> I have this application which plays MP3 sounds and play FLVs with use of
the
> FLVPlayback component.
> For every sound and every flv I create a new instance of the according
> class.
> I can start as much MP3 as a like without any problem.
> But when I start the 32th video, it crashes and error on my FoundFacade
> class:
> 
> TypeError: Error #1009: Cannot access a property or method of a null
object
> reference.
>       at SoundFacade/play()
>       at SoundFacade/onLoadOpen()
> TypeError: Error #1009: Cannot access a property or method of a null
object
> reference.
>       at SoundFacade/play()
>       at SoundFacade/onLoadComplete()
> 
> So I think this has to do with the FLVPlayback instances using up all the
> possible soundchannels without releasing them????
> 
> Any help is appreciated!
> 
> TIA
> 
> Cor
> 
> 
> 
> _______________________________________________
> 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
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

Reply via email to