Passing variables from flash to php then to flash

I am creating a flash video player, and I want to have a full screen option, I am doing this by having two flash files, one is the main player which is working fine, then second is on a new page that changes size to fit the page.

If the main player I have a variable called videoPlayerContent which holds the location of the file that is been played.

In the full screen flash file I have a variable called player2Content that holds the file to be played.

I want to pass this variable to php so that is can be passed to flash.

would something like this work.

[AS]
on(press){
getURL(fullScreen.php?player2content=_root.videoPlayerContent);
}
[/AS]

the full screen player will be on the php page with the following

[AS]
player2=player2content
[/AS]

I placed this in the php section because it is the php part of the code that I need most help with.

Any help would be great, or a tutorial that could help me.