PDA

View Full Version : button in a movie clip thing!!!!!!!!


arn
04-05-2005, 09:59 AM
Hi there,

How can I disable a button that loads a movie clip into another movie clip and (the button) resides in another movie clip???

Any help would be much appreciated. :confused:

sfhazel
04-05-2005, 10:25 AM
First, give each movieclip an Instance Name. Then access items in the order they are embedded in each other.

For example, if buttonA resides in mcOne which resides in mcTwo, try using the following to structure to access buttonA:

mcTwo.mcOne.buttonA._visible = false;

arn
04-05-2005, 04:48 PM
Hi,

Let me please rephrase my question:

How can I place a check/condition that if a ww movie is loaded in a xx movie clip then disable yy button, keeping in mind the yy button is in another movie cilp called zz???

I would really appreciate your help. I hope didn't make it difficult enough!!!!

sfhazel
04-05-2005, 06:58 PM
You could set up your button with an if statement that checks for a variable that you can set to true or false.

on(release){

if( buttonOn == true ){
do something;
}

}

whenever you want your button activated, make it true. whenever you want it to do nothing, make it false.