Non ho capito molto la richiesta, comunque prova a fare in questo modo:
-creati un quadrato che convertirai in movieclip, chiamandolo ed istanziandolo mc_mc
-dentro a questo creati una freccia, converti anche questa in mc e chiamala ed istanziala arrow_mc
-poi associa lo script seguente al frame della _root e testa il filmato
codice:
mc_mc.arrow_mc._visible = false;
mc_mc._width = 100;//valore che devi impostare tu
mc_mc._height = 100;//valore che devi impostare tu
_global.wMax = 200;//valore che devi impostare tu
_global.hMax = 200;//valore che devi impostare tu
_global.wMin = mc_mc._width;
_global.hMin = mc_mc._height;
_global.ingrandito = false;
mc_mc.onRelease = function() {
this.onEnterFrame = function() {
if (!ingrandito) {
if (this._width<wMax && this._height<hMax) {
trace("lavorando++");
this._width += 5;
this._height += 5;
} else {
delete this.onEnterFrame;
trace("lavorando+stop");
mc_mc.arrow_mc._visible = true;
ingrandito = true;
}
} else {
mc_mc.arrow_mc._visible = false;
trace("lavorando--");
if (this._width>wMin && this._height>hMin) {
this._width -= 5;
this._height -= 5;
} else {
delete this.onEnterFrame;
trace("lavorando-stop");
ingrandito = false;
}
}
};
};
Se questo era ciò che intendevi puoi adattarlo alla tua situazione, ma ripeto che non sono sicuro di aver capito il problema...