To rip from a DVD, you can use the excellent DVDx - guide posted here:
http://www.marcpeters.co.uk/DVD-back-up.html
I would advise that you rip as an MPEG - its not really worth creating an intermediary AVI file if you're going to use an MPEG in the flash presentation. (and DVDs are encoded with MPEG anyway

)