发布
loading-left
loading loading loading
loading-right

加载中

个人主页
TA还没有准备介绍自己
TA的源代码 (1)
多张图片切换
暂无评分
importflash.display.MovieClip; importflash.events.MouseEvent; importflash.events.KeyboardEvent; importcom.greensock.TweenLite; importcom.greensock.easing.Back; importflash.geom.Point; importflash.display.StageDisplayState; importflash.display.StageScaleMode; stage.displayState=StageDisplayState.FULL_SCREEN_INTERACTIVE; stage.scaleMode=StageScaleMode.SHOW_ALL; //图片数组 varvecImg:Vector.<MovieClip>; //图片层级(最上面的最大以此类推) vararrImgDepth:Array=[7,6,4,2,0,1,3,5]; //图片Index数组 用来记录哪张图片在哪个位置  //(切换的时候该数组随时变化) // vararrIndex:Array=[0,1,2,3,4,5,6,7]; //图片位置 varvecPos:Vector.<Point>; //当前处于中间的图片Index  varintNowIndex:int=0; //最大Index varMaxIndex:int=7;
SuiShulong
2020-01-18
0
1
没有更多了~