I've got the actionscript for the mask, but you should start sharing yours, or your sources! I do a lot of tutorial hunting for AS, and I seem to be frequenting your blog...I'm guessing it sounds something like1.) AS to make a gradient ball grad mask2.) black solid on top3.) track ball to mouse, hide and/or swap mouse... whatever you do there, you see it all the time but i've only done it once
Sure thing. From here on out I'll post snippets of the code that actually make it unique. In this case, the gradient mask is the only unique feature, and the lines that allow for gradient masks are incredibly simple.The catch is that the movie clips involved (both mask and maskee) need to be cached as bitmaps or else the mask will just be an all-or-nothing deal. With bitmap data, however, alpha is considered by Flash.
I've got the actionscript for the mask, but you should start sharing yours, or your sources! I do a lot of tutorial hunting for AS, and I seem to be frequenting your blog...
ReplyDeleteI'm guessing it sounds something like
1.) AS to make a gradient ball grad mask
2.) black solid on top
3.) track ball to mouse, hide and/or swap mouse... whatever you do there, you see it all the time but i've only done it once
Sure thing. From here on out I'll post snippets of the code that actually make it unique. In this case, the gradient mask is the only unique feature, and the lines that allow for gradient masks are incredibly simple.
ReplyDeleteThe catch is that the movie clips involved (both mask and maskee) need to be cached as bitmaps or else the mask will just be an all-or-nothing deal. With bitmap data, however, alpha is considered by Flash.