Kill VideoDisplay when removed from stage?

View: New views
3 Messages — Rating Filter:   Alert me  

Kill VideoDisplay when removed from stage?

by mlharrisn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'd consider myself a slight step above a Flex newbie, and I'm running into a
problem I haven't been able to find an answer to by Googling. I'm working on a custom
component based on the Canvas, that will use the VideoDisplay component. My problem is
that when the customCanvas is removed, I still here the audio from the VideoDisplay. Is there
an event I can use to close the VideoDisplay before The canvas is removed, or is there a
smarter way to do it?

Thanks!


RE: Kill VideoDisplay when removed from stage?

by Alex Harui :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

REMOVED_FROM_STAGE?

 

________________________________

From: flexcomponents@...
[mailto:flexcomponents@...] On Behalf Of mlharrisn
Sent: Tuesday, August 12, 2008 1:32 PM
To: flexcomponents@...
Subject: [flexcomponents] Kill VideoDisplay when removed from stage?

 

I'd consider myself a slight step above a Flex newbie, and I'm running
into a
problem I haven't been able to find an answer to by Googling. I'm
working on a custom
component based on the Canvas, that will use the VideoDisplay component.
My problem is
that when the customCanvas is removed, I still here the audio from the
VideoDisplay. Is there
an event I can use to close the VideoDisplay before The canvas is
removed, or is there a
smarter way to do it?

Thanks!

 


Re: Kill VideoDisplay when removed from stage?

by jkasham :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- In flexcomponents@..., "Alex Harui" <aharui@...> wrote:

>
> REMOVED_FROM_STAGE?
>
>  
>
> ________________________________
>
> From: flexcomponents@...
> [mailto:flexcomponents@...] On Behalf Of mlharrisn
> Sent: Tuesday, August 12, 2008 1:32 PM
> To: flexcomponents@...
> Subject: [flexcomponents] Kill VideoDisplay when removed from stage?
>
>  
>
> I'd consider myself a slight step above a Flex newbie, and I'm running
> into a
> problem I haven't been able to find an answer to by Googling. I'm
> working on a custom
> component based on the Canvas, that will use the VideoDisplay component.
> My problem is
> that when the customCanvas is removed, I still here the audio from the
> VideoDisplay. Is there
> an event I can use to close the VideoDisplay before The canvas is
> removed, or is there a
> smarter way to do it?
>
> Thanks!
>


its a bug in the VideoDisplay class, use SoundMixer.stopAll()
Jamal Kasham

LightInTheBox - Buy quality products at wholesale price!