Funnily enough I'm working on a Flash portfolio myself. For my gallery, I created mine all in ActionScript 3.0. I don't think you would want to try and embed jQuery code inside of Flash to create a portfolio as it seems a very unnatural thing to do just to make a Flash gallery, and to me sounds like something that would take longer than just building the gallery in Flash.

For a gallery, the simplest concept is having an XML data file with all your gallery items in it. This tutorial shows a decent example of this idea in action: http://www.republicofcode.com/tutori...s3gridgallery/

Because XML is just data, the possibilities of what you do with that data are virtually endless.

As for a contact form, again, Republic of Code has a tutorial on it: http://www.republicofcode.com/tutori...s3contactform/

I must sound like a poster boy for that site, but hey, it has a few nice and simple tutorials for some basic things in Flash.