Animating Warped Objects with Envelope Distortion
In the last section, we used pins upon a Warped Object to distort the mesh and animate the underlying artwork. We can also make use of Envelope Deformers to modify the mesh as well, and that is what we will examine next.
Let’s have a look at the starter document opened up within Animate:
Figure 7.20 – The starter document for this exercise
The document targets ActionScript 3.0 once again, and the FPS setting remains at a value of 30
. Instead of a square stage, like we created for our little ghost, this stage is more rectangular, 640x480
in size.
The document consists of three layers:
- Cloth – A long, red cloth resembling a flag is the only thing on this layer. This is the asset we will animate, so the layer is unlocked.
- Pole – The wooden pole sticking up from the earth that our flag is fixed to. This layer is locked.
- BG – The general background assets...