多张图片切换
2020-01-18
0 0 0
暂无评分
其他
如何获取积分?
import flash.display.MovieClip;
import flash.events.MouseEvent;
import flash.events.KeyboardEvent;
import com.greensock.TweenLite;
import com.greensock.easing.Back;
import flash.geom.Point;
import flash.display.StageDisplayState;
import flash.display.StageScaleMode;
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
stage.scaleMode = StageScaleMode.SHOW_ALL;
//图片数组
var vecImg:Vector.<MovieClip > ;
//图片层级 (最上面的最大 以此类推)
var arrImgDepth:Array = [7,6,4,2,0,1,3,5];
//图片Index 数组 用来记录哪张图片在哪个位置
//(切换的时候 该数组随时变化)
//
var arrIndex:Array = [0,1,2,3,4,5,6,7];
//图片位置
var vecPos:Vector.<Point > ;
//当前处于中间的图片 Index
var intNowIndex:int = 0;
//最大Index
var MaxIndex:int = 7;
相关源码推荐
使用Java开发Android AOA Android开放式附件
0
0
暂无评分
Golang AOA Android开放式附件HID控制
0
0
暂无评分
pclite
0
0
暂无评分
GMSK线性接收机
0
0
暂无评分
传世AFT中变打金版版本--以前很火爆的,收藏很久
0
0
暂无评分
暂无评论