PDA

View Full Version : Can anyone help me please?


saneld
04-09-2004, 03:27 AM
Can anyone help me with the following problem:

I have a hidden menu in my "mainnav" movieclip. I want to set this hidden menu to _false when my movie loads so its not visible on the stage, and only load it when I click on a button in my navigation.
So basically there is a invisible menu inside my main navigation and it is suposed to be invisible until I call upon it but I don't know how to set up the condition correctly. :(

Can anyone help me or reffer me to a website that explains something like this? It would be highly appreciated.

Thanks in advance!

Billy T
04-09-2004, 04:58 AM
your_mc._visible=false;

saneld
04-09-2004, 12:28 PM
I know the basic condition is the _root.mc._visible=false; but
what I want to do is I want to set this movie clip to false so its not visible on the stage at all except when I click on a button. The way I have it setup now is when my movie loads I have the ._visible=false; and on the button I have ._visible=true on release of the button. But problem is it only works once. I can't repeat the turning on and off of that hidden menu.

sanderH
04-09-2004, 01:22 PM
perhaps if you posted you fla. i could have a look at it?
regards

ethanopia
04-09-2004, 01:39 PM
try using !

like this


mc._visible = !mc._visible

that says something like whatever the visible == when button is clicked, make it the opposite...

I hope that helps

Billy T
04-09-2004, 08:29 PM
when my movie loads I have the ._visible=false; and on the button I have ._visible=true on release of the button. But problem is it only works once. I can't repeat the turning on and off of that hidden menu.

so what code do you have to turn it off again?

saneld
04-10-2004, 03:38 AM
ok on teh begingin of the movie (frame1) I have hiddennav_mc._visible=false;

then on the button I have once you click on the button it goes hiddennav._visible=true' but that seems to only work 1nce ther ehas to be a function or condition I have to set up on the 1st frame to make this work every time I guess.