# Flash Executing certain php functions

**URL:** <https://forum.kirupa.com/t/flash-executing-certain-php-functions/246313>\
**Category:** programming\
**Created:** [December 10, 2007, 1:07am UTC](https://forum.kirupa.com/t/flash-executing-certain-php-functions/246313 "2007-12-10T01:07:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![four4swords](https://avatars.discourse-cdn.com/v4/letter/f/87869e/32.png) [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Post date:** [December 10, 2007, 1:07am UTC](https://forum.kirupa.com/t/flash-executing-certain-php-functions/246313/1 "2007-12-10T01:07:45Z")

</div>

hi!

You know how php can have functions like flash…  
well… When flash communicates with php

with this

```auto
myLoadVars.load("RPG.php");

```

or something like it…

Can i make it so it only activates certain functions?

like in my RPG.php

I have

```auto
function ONE (){
stuff
}

function TWO (){
stuff
}

function THREE (){
stuff
}

```

and i only want to run function ONE…

How can i script it to do that?

Thanks
