Código :
izquierda=dragger._x;
superior=cont._y;
derecha=dragger._x;
inferior=mask._height;
dragger.onPress = function() {
startDrag(this, false, izquierda, superior, derecha, inferior);
};
dragger.onRelease = dragger.onReleaseOutside=function () {
stopDrag();
};
cont.setMask(this.mask)y cuando jalo el MC a la linea de tiempo principal no funciona
porque sucede esto el contenido se va rapidamente No se que hacer
gracias por la ayuda
en el frame dentro de un MC y en el contenido tengo esto:
Código :
onClipEvent(load){
y=this._y;
}
onClipEvent(enterFrame){
max=_root["cont"]._height-60;
_y+=((((_root["dragger"]._y*max)/_root["mask"]._height)*-1)-_y)/5;
} 