I've got this flash banner , but I'd like to be able to add dynamic links to it based on variables in the embed tag. 
I've got access to the source but basically I'd like to be able to add on a referal id based on which ever affiliate is using the banner , 
So the banner would be linked to 
www.mysite.com 
but affiliates can add their affiliate ID to the link via variables or the embed tag param names .. producing 
www.mysite.com/affid=1212 or something similar 
Doesn't seem so easy 

 Anyone know of any good tutorials , or know how it's done ?