View Full Version : Some contents in the same position

10-17-2002, 06:15 PM
Hello people :).

Ok, I need your help with this one:

I have an interface with three buttons, and each button calls a small content in the same place each, so I have three contents piled one on top of each other.

The problem is that the content of button #1 shows exactly at the same place where buttonīs #2 content also appears... and also buttonīs #3.

I need to call each content through each button but I need any of the three contents to disappear when any of the other contents is called.

Can you help me with this one?


10-18-2002, 06:33 AM
I dont know in what way you are showing the content but this concept remains th esame, imagine you have all the MCs in the same place and all you are doing is hiding one and showing the other. Basically you need to store the last MC in a variable.

On each button place something like this -

_root.movie1._visible = true;
_root[currentMovie]._visible = false;
currentMovie = "movie1";


10-18-2002, 01:28 PM
sfa thanks a lot! it worked just fine :)