Controlling div content with Flash

I would like to implement a Flash menu, that when clicked on, changes the content within a specific <div> on the PHP page. However, I am having a hard time finding useful examples of this for a beginner.

Can someone please provide a working example of what would be placed in the html page, the javascript and the Flash document, using say, content within ‘s1’, ‘s2’ and ‘s3’? I only have access to AS2…

So for instance, how would I change <div id=“s1”></div> to <div id=“s2”></div> using a Flash button?

I hope this makes sense. Thanks!