codice:
this["Sponsor"]._xscale = 75;
this["Sponsor"]._yscale = 75;

this["Sponsor"].onRollOver = function() {
	open_pic(this._name,150);
};
this["Sponsor"].onRollOut = function() {
	close_pic(this._name,75);
};
for (i=1; i<=10; i++) {
	this["B"+i].onRollOver = function() {
		open_pic(this._name,150);
	};
	this["B"+i].onRollOut = function() {
		close_pic(this._name,100);
	};
}
stop();

function open_pic(nome,Enlarge) {
	this[nome].swapDepths(100);
	this[nome].onEnterFrame = function() {
		if (this._xscale<Enlarge) {
			this._xscale = this._yscale += 5;
		} else {
			delete this.onEnterFrame;
		}
	};
}

function close_pic(nome,Reduce) {
	this[nome].onEnterFrame = function() {		
		if (this._xscale>Reduce) {
			this._xscale = this._yscale -= 5;
		} else {
			delete this.onEnterFrame;
		}
	};
}
questo sul fraem 4 e tutto funziona.
Il problema è che ho 2 pulsanti che mi fanno saltare al frame precedente(3) o al successivo (5) e se io ho fatto il rollover su uno dei miei oggetti al cambio frame l'oggetto su cui ho fatto il rollover non sparisce
Perchè?

ho questo script sul primo frame per i pulsanti next -prev
codice:
// If not defined yet, 
if (isLoaded == undefined) {
	
	// Routine to move playhead to a new frame
	var updateFrame = function (inc) {
		
		var newFrame = _currentframe + inc;
		gotoAndStop(newFrame);
	
		if (_root._currentframe == 1) {
			backBtn._alpha = 50;
			backBtn.enabled = false;
		} else {
			backBtn._alpha = 100;
			backBtn.enabled = true;
		}
		if (_root._currentframe == _root._totalframes) {
			forwardBtn._alpha = 50;
			forwardBtn.enabled = false;
		} else {
			forwardBtn._alpha = 100;
			forwardBtn.enabled = true;	
		}
	}


	// When the forward button is pressed
	forwardBtn.onPress = function () {
		updateFrame(1);
		}

	// When the back button is pressed
	backBtn.onPress = function () {
		updateFrame(-1);
	}

	// When the keyboard keys are pressed
	var keyListener = new Object();
	keyListener.onKeyDown = function () {
		if (Key.isDown(37)) { 
			// Left
			updateFrame(-1);
		} else if (Key.isDown(38)) { 
			// Up
			updateFrame(-(_currentframe-1));
		} else if (Key.isDown(39)) { 
			// Right
			updateFrame(1);
		} else if (Key.isDown(40)) { 
			// Down
			updateFrame(_totalFrames + 1);
		}
	}
	Key.addListener(keyListener);	


	// Call updateFrame at first to get button states correct at start
	updateFrame();	
}

// Set loaded flag to prevent redefinition 
this.isLoaded = true;
stop();
grazie