首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 多张图片切换

多张图片切换

  • 资源大小:10.50 MB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: actionscript

资 源 简 介

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. ; //图片层级 (最上面的最大 以此类推) 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. ; //当前处于中间的图片 Index  var intNowIndex:int = 0; //最大Index var MaxIndex:int = 7;

文 件 列 表

切换图片效果
切换图片效果.fla
切换图片效果.swf
VIP VIP
0.190336s