ciao domanda ho un movie clip sulla timeline principale al primo frame con questo codice
onClipEvent (load) {
xscale = 100;
yscale = 100;
jump = false;
sX = 0;
sY = 0;
jumpfactor = .8;
jumpratio = .3;
}
onClipEvent (enterFrame) {
if (!jump) {
sX = Number(sX*jumpfactor)+Number((xscale-_xscale)*jumpratio);
sY = Number(sY*jumpfactor)+Number((yscale-_yscale)*jumpratio);
_xscale += sX*2;
_yscale += sY*1;
}
}
quando cambio frame il movie rimane visibile c'èun modo per far si che cambiando frame non sia piu visibile?
sempre al primo frame ho un'action
Movieclip.prototype.move = function(moveX,moveY,scale) {
m_x = Number(m_x*.6)+Number((moveX-this._x)*.4);
this._x +=m_x;
m_y = Number(m_y*.6)+Number((moveY-this._y)*.4);
this._y +=m_y;
m_s = Number(m_s*.4)+Number((scale-this._xscale)*.1);
this._xscale +=m_s;
this._yscale =this._xscale;
this._alpha =this._xscale+50;
}
function open1 (xx, yy) {
_root.win._x = xx;
_root.win._y = yy;
_root.win.Sscale = 100;//size on mouse over
}
function closeW1 (xx, yy) {//happen on rollOut
_root.win._x = xx;
_root.win._y = yy;
_root.win._xscale = 50;//scale out
_root.win._yscale = 50;
_root.win.Sscale = 0;
}
ma non credo sia qua il problema comunque grazie

Rispondi quotando
