Flash gradient mask / reflection tutorial using actionscript 2.0

ball4

Ok, you’ve probably always wondered, why photoshop and other apps (like pixelmator for example) allow you to use gradient masks and Flash doesn’t? You probably blamed it on some vector mambo-jumbo and decided to live with it somehow. Well that’s not needed anymore, because with some clever techniques we can achieve this effect in Flash from version 8 and up. It works in actionscript 2.0, but it should be easy to achieve in 3.0 as well. This is a simple, quick effect that we can make having a basketball and it’s reflection underneath. What’s cool is that you can also animate the mask so the ball will bounce for example.
Continue reading