Bueno, al final era mas facilde lo que me pensaba y todo gracias a JaCCer (flascript.com).
Bueno ahi va el codigo:
Código:
m1.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;
}
}
}
ejemplo: http://www.forocreativo.net/ipb/index.php?act=Attach&type=post&id=4746