Whilst playing around with Javascript to Flash to Javascript communication I came across ishlab.ru and his amazing SimBEOS API. Unfortunately the whole site is in russian, but if you look at the examples you pretty much get the picture and fortunately the code is not in cyrillic.

To make it short - this API covers pretty much everything that you ever wanted to do in browser-to-flash interaction: controlling the window, retrieving the mouse position from OUTSIDE the flash movie, capturing mouse wheel events, executing code from form textfields... Well the only problem at the moment is that you will have to do a bit of guesswork - or speak russian.

BTW - it looks like Ish's regular site does not work, at least I do not get beyond the splash screen which is a pity as there seems to be an english version.