hola crew, te mando un AS que me ayudo mucho y me sirvió, una barbaridad! podes meter texto imagenes y movieClips. Haces una mascara movie clip con nom de instancia: "movMask" con el espacio donde se moverá el "movIn" que es donde pondras lo que quieras mover. Luego crearas un boton dezlizador con nomb de inst : "movScroller"
y este es el codigo:
Código :
// Define the Scroll Area
top = _root.movMask._y;
bottom = _root.movMask._y+_root.movMask._height-_root.movScroller._height;
left = _root.movMask._x;
right = _root.movMask._x+_root.movMask._width;
// Bring all objects to the Scroll Area
_root.movIn._y = top;
_root.movIn._x = left;
_root.movScroller._y = top;
_root.movScroller._x = right;
// When the Scroller is Dragged
_root.movScroller.onMouseDown = function() {
if (hitTest(_root._xmouse, _root._ymouse)) {
startDrag("_root.movScroller", false, right, top, right, bottom);
}
};
// when the Scroller is Released
_root.movScroller.onMouseUp = function() {
stopDrag();
};
// Update Position every 10 milliseconds
setInterval(Update, 10);
function Update() {
var ratio = (_root.movIn._height-_root.movMask._height)/(_root.movMask._height-_root.movScroller._height);
_root.movIn._y = ((_root.movMask._y-_root.movScroller._y)*ratio)+_root.movMask._y;
}