I don't have a solution to your problem and this is a bit off topic, but...
Amazon has
samples of something they call "Kindle in Motion" which (among other things) supports animation that starts automatically when the user reaches its page. They haven't actually announced this feature yet and there is no information on the tools or markup required to create this effect.
Just something to keep in mind in case you want to put your book on Amazon eventually.