Flash, Cold Fusion and Dynamic movies

I am currently running a page on coldfusion but I would like to integrate a dynamic flash movie into the mix. Basically I have an SQL statement taking the top 5 most recent records. What i would like to do is feed the variables into the flash movie so that it will show the pictures and the titles of the recently added records. Is this straight forward? Where do I start?