ho un mio filmato in flash 5 in cui ho:
nel primo frame :
Movieclip.prototype.elasticScale = function(target, accel, convert) {
xScale = xScale*accel+(target-this._xscale)*convert;
yScale = yScale*accel+(target-this._yscale)*convert;
this._xscale += xScale;
this._yscale += yScale;
};
e legato ad un movieclip:
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
elasticScale(112, 0.9, 0.4);
} else {
elasticScale(100, 0.9, 0.2);
}
}
funziona tutto (è un effettino elastico...)
nel momento in cui però esporto il filmato in flash mx lo script non mi funge più.
Ho qualche comando obsoleto che mx non interpreta più?
Grazie

Rispondi quotando
Ciao
