[FMX] Script needed to define one action at a Time

Hey, I’m hoping someone can help me with this because I’m stumped. What I have are a series of panels in one movie clip defined by one button on a seperate layer. The script on the button is this:

[AS]on (press) {
if (out) {
_parent.pressv=-2;
out=false;
} else {
_parent.pressv=2;
out=true;
}
}[/AS]

This clip is in another movie clip that has the script for the panel’s scaling when they are pressed, which is this:

[AS]if (pressv != 0) {
this.panel += pressv;
pressv = pressv*.975;
if ((pressv<.2) && (pressv>-.2)) {
pressv = 0;
}
}[/AS]

When you press on a panel, it scale increases, and when you press it again it decreases. What I want to do is make it so that only one panel at a time can do this, that is, when one panel is pressed and scaled, none of the other panels will be able to until that panel is pressed and scaled back. I have no idea how to do this. Any help would be greatly appreciated!

-ZS