Thanks - yeah you are right, I was mistaken that the video was still there
as I had a black overlay movie clip the same size as the video on a higher
layer.

However I notice that even when the video component is not visible, the
video still plays - so if a user navigates to a section with no video, I can
still hear the video playing. I guess I could just stop the video, but I
wondered if there is a better solution.

Thanks

Paul

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mick G
Sent: 30 January 2007 18:07
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Remove / Hide a video component

I just did a quick test and dragged a component on stage and set
myvid._visible = false;  and it seemed to hide the component just fine

Failing that you could always change it's x or y position to somewhere off
stage like
myvid._x = -1000



On 1/30/07, Paul Steven <[EMAIL PROTECTED]> wrote:
>
> I have a flash 8 movie that is composed of 60 sections and hence there are
> 60 labels.
>
> Some of these sections include a video clip playing and I have used the
> Flash 8 FLVPlybk component.
>
> What I would like to do is have this on stage in the correct position and
> then hide or remove it for sections that do not have an associated video
> clip.
>
> I have tried the following with no joy where "my_FLVPlybk" is the instance
> name:
>
> my_FLVPlybk._visible = false;
> my_FLVPlybk.contentPath = "";
>
> I would appreciate any advice on how to remove the video for sections that
> do not have video.
>
> For sections that do have a video I am setting the content path as
> follows:
>
> my_FLVPlybk.contentPath = "media/video/1_0.flv";
>
> Thanks in advance
>
> Paul
>
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to