1. View the page source code, search for string "<embed" or "<object"
2. Look for attribute inside, "src" must be refering to a swf file, if so, find the "id" and "name" attribute and copy it's content
3. use the following code to get value from flash object
Code:
var obj = document.getElementById("swfApplication");
obj.GetVariable("/:message");
message means the variable name in the flash object
4. use the following code to set value to the flash object
Code:
var obj = document.getElementById("swfApplication");
obj.SetVariable("/:message", "data");