Loading Dynamic content

Hi,

I’m creating a website. One of the section I have 2 links, they both load an external swf.
The external swfs are the same except for 2 images and a paragraph.

I was thinking instead of creating 2 swf and writing all the actionscript for both of the pages. I would load the content with xml.

So I was thinking is it possible to have on the buttons/Links = profile.swf?profile = 1 and profile.swf?profile = 2. which of course connects to mysql/php and then creates the xml to load into profile.swf?

Is this possible?

thanks
vxd