# As3 -\> php and vice versa

**URL:** <https://forum.kirupa.com/t/as3-php-and-vice-versa/331486>\
**Category:** flash\
**Created:** [August 11, 2013, 2:51am UTC](https://forum.kirupa.com/t/as3-php-and-vice-versa/331486 "2013-08-11T02:51:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Morsus](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@Morsus](https://forum.kirupa.com/u/Morsus)\
**Post date:** [August 11, 2013, 2:51am UTC](https://forum.kirupa.com/t/as3-php-and-vice-versa/331486/1 "2013-08-11T02:51:14Z")

</div>

Okay so i am trying to figure this out few days already and its killing me…I know its possible it was just a lot easier in AS2. Can anyone help me make[this](http://www.kirupa.com/developer/actionscript/flash_php_email.htm) only in as3? (or just pass the variable to php)

For php to As3 i found [this](http://snipplr.com/view.php?codeview&id=45293) and it works. But i would like to know is there a way to use only a variable (eg. $vyhra = ‘true’; ) and not echoing the data?
