开发者

Start drag problem while File resize in As3.0

开发者 https://www.devze.com 2023-04-04 15:32 出处:网络
coin_mc.startDrag(); coin_mc.x = stage.mouseX; coin_mc.y = stage.mouseY; coin_mc.mouseEnabled=false; I have used the above code for drag.It\'s working fine, normally .
coin_mc.startDrag();
coin_mc.x = stage.mouseX;
coin_mc.y = stage.mouseY;
coin_mc.mouseEnabled=false;

I have used the above code for drag. It's working fine, normally . But when I resize the file ,t开发者_开发技巧he distance between mouse and coin_mc is getting increased. So please help me regarding this ...


Have you made coin_mc.stopDrag(); ?

0

精彩评论

暂无评论...
验证码 换一张
取 消