An introduction to animation in Flash