Vector flying bird?

Hello, im trying to make this little animation… of a bird flying
something like this… take a look at this site pls

in the drummachine section you will find before the fun part starts a little butterfly just flying around… so im wondering is this some kind of very exact motion , shape tweens animation or is it an actionscript work… anyone with a tutorial or fla so i can see the example i would appreciated… thank you.