Hola,
he creado un scroller pero algo no va con el....alguien me da una manita...segui un tutorial de Craig online...pero no se que pasa, no reporta error pero el texto no se ve cuando lo pruebo......ayuda PLEASE!!!
var scrollUpper:Number = 43;
var scrollLower:Number = 359;
var textLower:Number = 43;
var textUpper:Number = -1120;
var scrollRange:Number = scrollLower - scrollUpper;
var textRange:Number = textLower - textUpper;
function scroll () {
var moved:Number = scroller_mc._y - scrollerUpper;
var pctMoved:Number = moved/scrollRange;
var textMove:Number = pctMoved*textRange;
text_mc._y = textLower - textMove;
}
scroller_mc.onPress = function() {
this.startDrag(false,this._x,scrollUpper,this._x,s crollLower);
this.onMouseMove = scroll;
}
scroller_mc.onRelease = scroller_mc.onReleaseOutside = function() {
this.stopDrag();
this.onMouseMove = null;
}