You can create animations in Flash, but be careful to choose AS3 because CP6 only supports that version. However, widgets allow communication between Captivate and the widget. Have a look at InfoSemantics website, they have a great widget API, maybe you'll find the information you are looking for over there:
http://www.infosemantics.com.au/widgetking/about/widgetfactory/
Lilybiri