non mi funzionava perche' avevo diverse funzioni... se commento una allora l'atra va:
MovieClip.prototype.barraBotMove = function (pos:Number, larg:Number) {
var path:MovieClip = this;
var ty:Tween = new Tween (path, "_y", Strong.easeOut, path._y, pos, 30, false);
ty.onMotionFinished = function () {
trace (larg);
var rx = new Tween (path, "_width", Strong.easeOut, path._width, larg, 30, false);
};
};
/*MovieClip.prototype.rettDesMove = function (pos:Number, alt:Number) {
var path:MovieClip = this;
var tx = new Tween (path, "_x", Strong.easeOut, this._x, pos, 30, false);
tx.onMotionFinished = function () {
var ry = new Tween (path, "_height", Strong.easeOut, this._height, alt, 30, false);
};
};*/
come posso fare per farle andare tutte e due?
grazie!

Rispondi quotando