点击浏览该文件 代码(全部写在帧上):
fscommand("allowscale","false")
_root.picture.setMask(_root.big_glass.pian);
_root.shuru.onChanged?=?function()?{
?_root.picture._xscale?=?n*100;
?_root.picture._yscale?=?n*100;
}
_root.big_glass.onPress?=?function()?{
?this.startDrag();
?drag?=?true;
}
_root.big_glass.onRelease?=?function()?{
?stopDrag();
?drag?=?false;
}
_root.big_glass.onEnterFrame?=?function?()?{
?if(drag?=?true){
??_root.picture._x?=?-_root.big_glass._x*(_root.n-1);
??_root.picture._y?=?-_root.big_glass._y*(_root.n-1);
?}
}
_root.big_glass.onMouseMove?=?function?()?{
?updateAfterEvent();
}