Passing vars to flash from html/javascript

Hi, I’ve searched the forums and googled this but all the methods I’ve come across wont work on a mac with ff/safari.

So, does anyone know of a cross plaform/browser compatible way of passing variables to flash from html or javascript?

This is really doing my head in,
any help would be good :toad: