ActionScript - problem

 
Vista:

problem

Publicado por alphasky (2 intervenciones) el 20/11/2008 22:10:54
Bueno, al final era mas facilde lo que me pensaba y todo gracias a JaCCer (flascript.com).

Bueno ahi va el codigo:
CÓDIGOm1.onRollOver = function()
{
this.onEnterFrame = function()
{
if (this._currentframe != 10)
{
this.nextFrame();
}
else
{
this.stop();
delete this['onEnterFrame'];
}
}
}
m1.onReleaseOutside = m1.onRollOut = function()
{
this.onEnterFrame = function()
{
if (this._currentframe != 1)
{
this.prevFrame();
}
else
{
this.stop();
delete this['onEnterFrame'];
}
}
}

onMouseUp = function(){
if(m1._currentframe == 10)
{
if(m1.m2.hitTest(_xmouse, _ymouse, true))
{
m1.m2._x += 3;
}

}
}

os pongoel ejemplo fla http://www.forocreativo.net/ipb/index.php?act=Attach&type=post&id=4746
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder