If you look at the raw HTML from View Source of the page that displays your products with attributes selected, you'll see all the input fields that are POST'd when you click the add-to-cart button.
Using that information, simply have your flash app post those same fields when the user clicks the Add button.



