Loading variables from javascript, dynamic banner

I have a site with 50 pages, and for users with Flash I wish to have a flash banner at the top of every page. It comprises of a full colour background image (different for each page), and page title, in a standard location over the top. So I was wondering whether to save doing 50 flash files I could load the image url and text into the same flash file on each page. Has anyone tried this sort of thing? Example site? What are the speed/performance implications?