I have an affiliate program and want to use Flash banners.

What is the easiest way to have affiliates put the ads on their sites?

They go into the affiliate section and get ads with their aff id already
included. But having them copy and paste the huge amount of code associated
with Flash is a bit much. Is there an easier way? Javascript?