{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"closed","user":{"avatar_url":"https://secure.gravatar.com/avatar/526b401ff3a5e9ea52ec009224654821?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"526b401ff3a5e9ea52ec009224654821","url":"https://api.github.com/users/isk","login":"isk","id":207936},"milestone":null,"assignee":null,"updated_at":"2011-11-11T23:07:15Z","labels":[],"closed_at":"2011-11-06T17:18:53Z","comments":2,"url":"https://api.github.com/repos/nulldesign/nd2d/issues/25","body":"I've been trying to use the masking and ran into a couple different issues.\r\n\r\n1) The edges of a mask continue out across the entire masked area.\r\n2) A mask at certain sizes shrink, as noted in this comment: http://www.nulldesign.de/2011/09/02/nd2d-stage3d-masks/#comment-35536\r\n\r\n\r\nHere is a test swf and project to demonstrate these issues:\r\nwww.fapfaprevolution.com/tests/nd2dMaskGlitch/ - press space bar to cycle through the masks\r\nwww.fapfaprevolution.com/tests/nd2dMaskGlitch/nd2dMaskGlitch_fdproject.zip","html_url":"https://github.com/nulldesign/nd2d/issues/25","title":"Masking issues","number":25,"id":2154925,"created_at":"2011-11-06T04:18:43Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/526b401ff3a5e9ea52ec009224654821?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"526b401ff3a5e9ea52ec009224654821","url":"https://api.github.com/users/isk","login":"isk","id":207936},"updated_at":"2011-11-11T23:07:15Z","url":"https://api.github.com/repos/nulldesign/nd2d/issues/comments/2714410","body":"Thanks for the fix for # 2.\r\n\r\nInterestingly with the fix, if the mask is set to 64x65 all one color (no border), # 1 doesn't occur. It works as excepted. But # 1 still happens with 64x64 all one color.\r\n\r\nAlso a couple issues related to mask positioning. The first being mask position is global which requires a manual position \"sync\" to the masked object using localToGlobal function. Second, if the masked object is rotated, flipped (via scaleX/Y), etc. the mask does not follow, and it is proving difficult to sync these changes. No idea how feasible this is, but it would be nice to see masking work the same way as the display list where a mask is \"locked\" to one container object. Of course doing this wouldn't allow a single mask to be shared for multiple display objects not in the same container.","id":2714410,"created_at":"2011-11-11T23:07:15Z"}}