Search engine bot questions

Can anybody give me some information on how a site, using flash and html needs to be built in order to be indexed by seach engines.

In my current project, i have a flash movie made with animated buttons and stuff to be used as the main nav across the top. As i understand it, i will use getURL on these buttons to load new html pages. The nav will have corrisponding html links on the bottom of each page so bots can crawl to each page from those links.

The first problem i run into is: if each page is getting reloaded each time someone clicks a button on my main flash nav, the movie itself will be reload, thus rendering any visual indicators and animations useless as the flash movie too will be reload.

Should i use frames? Is there a better way?