FLASH & PHP marriage woes

Hi,

I am trying to implement this seemingly this very small and simple code using flash and php. I have done as follows:

a) made a small flash (dogyears.fla) movie which displays a button and an input text field.
b) Published the movie as a swf file and an HTML file.
c) Now I use the published HTML on my localhost (dogyears.html) and the movie is played in the browser.
d) I put any value in the input box and that gets multiplied by 7 by the php code in the file (dogyears.php). This multiplied value gets displayed on another new webpage.

Now all I want to do is to display this multiplied result, which is displayed on a new page, to be displayed on the same web page which contains the flash movie. (dogyears.html). Something like the diagram below.

The white portion in the right window is the movie (embedded swf). so when i type 7 in the text box and press Button, then instead of a new html window opening to display the value MyVal, the value should be displayed, on the same web page , say in the black window at the predetermined value, as shown.

If this is possible then I would be glad if someone can show me how. If someone wants to look at the code and files, I will be glad to post those as well.

Thanks to all.