地图放大缩小
地图可以放大缩小的 大 on (release){ map_mc._xscale *=1.2; map_mc._yscale *=1.2; } 或者 on (release){ map_mc._width *=1.2; map_mc._height *=1.2; } 缩小 on (release){ map_mc._xscale *=0.8; map_mc._yscale *=0.8; } 移动 on (release) { move(); } function move() { map_mc.onMouseDown=function(){ starDrag(map_mc); } map_mc.onMouseUP=function(){ stopDrag(); } }
0
131
268KB
2012-01-06
10