Flag Waving

images

THE WAVING FLAG is a popular “how do I…?” request in the Flash community. To be honest, it plagued me for quite some time as to how best to achieve this animation. My initial reaction was to use shape tweens and frame-by-frame animation – but that proved time-consuming and had unconvincing results. Then one day, out of the blue, it hit me: if I slide the right shape across a masked area, I could create the illusion of a flag waving without having to kill myself animating it in a traditional way. It suddenly became so easy anyone can do it.

 

1You will begin by making a nice long repeating ribbon shape. Start with a simple rectangle ...

Get How to Cheat in Adobe Flash CS4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.