# Passing variables from flash to php then to flash

**URL:** <https://forum.kirupa.com/t/passing-variables-from-flash-to-php-then-to-flash/201078>\
**Category:** programming\
**Created:** [September 18, 2006, 11:38am UTC](https://forum.kirupa.com/t/passing-variables-from-flash-to-php-then-to-flash/201078 "2006-09-18T11:38:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dhryn](https://avatars.discourse-cdn.com/v4/letter/d/47e85d/32.png) [@Dhryn](https://forum.kirupa.com/u/Dhryn)\
**Post date:** [September 18, 2006, 11:38am UTC](https://forum.kirupa.com/t/passing-variables-from-flash-to-php-then-to-flash/201078/1 "2006-09-18T11:38:31Z")

</div>

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.
