flash打造Acdsee浏览图片的效果


今天帮别人解决一个地图的问题,顺便就做了这个效果。现把原文件共享出来,有需要的可以下载。
[url=http://www.webjx.com/download.php?url=http://www.webjx.com/upfiles/20050710/20050710065254_1.fla]
[1b]点击这里下载源文件[/1b]
[/url]
所有as代码如下:
//---------------------------------------------
Stage.showMenu = false;
Stage.scaleMode = "noScale";
fscommand(allowscale, true);
mapScale = map_mc._xscale;
stageL = 0;
stageT = 0;
stageR = map_mc._width;
stageB = map_mc._height;
stageW = mask_mc._width;
stageH = mask_mc._height;
maxZoom = 800;
minZoom = 50;
initMapZoom();
actionLabel = "放大";
_root.onLoad = function() {
var btnName = new Array();
btnName = Array("放大", "缩小", "全图", "加大", "减小", "移动");
btnNameLen = btnName.length;
for (i=1; iminZoom) {
mapZoom(mapScale*.8, mapx, mapy);
} else {
mapZoom(minZoom, mapx, mapy);
}
}
};
}
};
function initMapZoom() {
var msW = map_mc._width/stageW;
var msH = map_mc._height/stageH;
var mapBi = (msWstageL && _xmousestageT && _ymouse
本文转自:http://www.5uflash.com/flashjiaocheng/Flashyingyongkaifa/1209.html

你可能感兴趣的:(html,PHP,Flash)