benladen
13.12.2005, 03:18
спасибо за ответ на предыдущее сообщение, все заработало.
а можно ли сделать какой-нибудь общий обработчик на все холлдеры?
т.е. this.slides_mcX.holderY.onRollOver .......
где x,y задаются ...
this.slides_mc1.holder0.onRollOver = function (){
var tween_handler:Object = new Tween(this, "_xscale", easing.Zoom, this._xscale, 120, 2, true);
var tween_handler2:Object = new Tween(this, "_yscale", easing.Zoom, this._xscale, 120, 2, true);
};
this.slides_mc1.holder0.onRollOut = function (){
var tween_handler:Object = new Tween(this, "_xscale", easing.Zoom, this._xscale, 100, 2, true);
var tween_handler2:Object = new Tween(this, "_yscale", easing.Zoom, this._xscale, 100, 2, true);
};
а можно ли сделать какой-нибудь общий обработчик на все холлдеры?
т.е. this.slides_mcX.holderY.onRollOver .......
где x,y задаются ...
this.slides_mc1.holder0.onRollOver = function (){
var tween_handler:Object = new Tween(this, "_xscale", easing.Zoom, this._xscale, 120, 2, true);
var tween_handler2:Object = new Tween(this, "_yscale", easing.Zoom, this._xscale, 120, 2, true);
};
this.slides_mc1.holder0.onRollOut = function (){
var tween_handler:Object = new Tween(this, "_xscale", easing.Zoom, this._xscale, 100, 2, true);
var tween_handler2:Object = new Tween(this, "_yscale", easing.Zoom, this._xscale, 100, 2, true);
};