
28/06/2006, 04:36
|
| | Fecha de Ingreso: enero-2005 Ubicación: culiacan, sinaloa, mexico
Mensajes: 97
Antigüedad: 20 años, 1 mes Puntos: 0 | |
esta es mi solucion tomando en cuenta el codigo que puso creativa
_root.BtnAbajo.onPress = function() {
abajo("presionado");
};
_root.BtnAbajo.onRelease = function() {
abajo("");
};
_root.BtnArriba.onPress = function() {
arriba("presionado");
};
_root.BtnArriba.onRelease = function() {
arriba("");
};
function abajo(estado) {
onEnterFrame = function () {
if (estado == "presionado") {
_root.eventos_txt.scroll += 1;
} else {
}
};
}
function arriba(estado) {
onEnterFrame = function () {
if (estado == "presionado") {
_root.eventos_txt.scroll -= 1;
} else {
delete (this.onEnterFrame);
}
};
} |