上传者: wy19310082
|
上传时间: 2023-03-20 13:58:33
|
文件大小: 1MB
|
文件类型: FLA
package {
import flash.display.DisplayObject;
import flash.display.DisplayObjectContainer;
import flash.display.MovieClip;
import flash.events.MouseEvent;
import flash.events.Event;
public class LtouchScroll{
public var tween:Number = 0.3; //缓动 0-1之间 1为不缓动
public var moveSetp:Number = 200; //左右按钮移动幅度
private var v_targetMC:MovieClip;
private var v_maskMC:MovieClip;
private var v_Lbnt:MovieClip;
private var v_Rbnt:MovieClip;
private var automask:Boolean = false;//是否自动遮罩
private var LimitLeft:Number;
private var LimitRight:Number;
private var toPositionX:Number;
private var StartPositionX:Number;
private var distance:Number;
private var StopPos:Number;