开发者

how to find edge of movieclip on action script 3

开发者 https://www.devze.com 2023-03-07 05:29 出处:网络
movieclips in flash have a Rectalge Zone . if we have a Circle shape and covert to movieclip , have a Rectagle Area.with empty area.

movieclips in flash have a Rectalge Zone . if we have a Circle shape and covert to movieclip , have a Rectagle Area.with empty area.

i want terminate this area when az drag any moveclip on my target movieclip. when i use hitTestObject do now work good.

(sorry for my poor en开发者_开发知识库glish)


You want to use bitmap based collision testing in this case. Here is a tutorial:

http://www.mikechambers.com/blog/2009/06/24/using-bitmapdata-hittest-for-collision-detection/

0

精彩评论

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