Can an html page dictate what frame a SWF plays or goes to?

Hello,

I have wondered this for a long time, hopefully some of you clever lads & lasses will be able to help me.

I have a flash header for a web site, that appears on every page. What I would like, is that when it’s on the home page, the header.swf shows the home page view, and when on the contact page it shows the contact page view etc… different artwork different text but same header file.

IE the html page sends information to the swf file telling it which frame to go to and stop (or play as the case maybe)

Is this possible?

Or do I need to create a new header for everypage, which seems a bit of a wasteof resources.

Any help greatly appreciated

Thank you
Tilly