# Button Action Script Not Working

**URL:** https://forum.kirupa.com/t/button-action-script-not-working/188239
**Category:** flash
**Created:** [May 5, 2006, 4:39pm UTC](https://forum.kirupa.com/t/button-action-script-not-working/188239 "2006-05-05T16:39:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bmalex](https://avatars.discourse-cdn.com/v4/letter/b/34f0e0/32.png) [@bmalex](https://forum.kirupa.com/u/bmalex)
#### Post date: [May 5, 2006, 4:39pm UTC](https://forum.kirupa.com/t/button-action-script-not-working/188239/1 "2006-05-05T16:39:48Z")

</div>

Greetings Forum,  
Can someone pleeeease help me with this problem???  
I have a flash movie clip with a button whose action script is not working.

I am trying to load a php page into the browser with this button. The php page contains data that needs to be displayed. This data is in a field, in a table, in a mysql db.

There a five variables that I use on this php page and after going through several tutorials I know I am suppose to load these variables into the flash movie and then somehow pass them to the action script for the button that calls the php page.

I have tried, in vain to make this work but I can’t seem to do it.

I know someone in this forum knows how to fix this or at least tell how to.

Here is my as for the movie…(when the movie loads)

\_root.loadVariables("&employer\_id=$employer\_id&s\_n\_email=$s\_n\_email&email=$email&email2=$email2&company=$company&resoption=$resoption");

and here is the as for my button…

on (release) {  
getURL(“jobseekeroptions.php”,0,“GET”);  
}

jobseekeroptions.php is the page that I am trying to get to display what is being pulled from the mysql database.

Since jobseekeroptions.php is kind of long I will post only the part of the script that pertains to my problem…

\<table border=‘1’ cellspacing=‘0’ width=‘100%’\>  
\<tr\>\<td\>  
\<hr color=’#000066’\>";  
$\_GET[’$company’];  
$\_GET[’$resoption’];  
$row = mysql\_fetch\_object($result);  
{  
echo "  
$row-\>company\<br\>  
\<table border=‘1’ width=‘102%’\>  
\<tr\>  
\<td\>";  
//This is a field in a table of mysql database  
//This field holds a text page - resume\_options.php  
$row-\>$resoption;  
echo"  
\</td\>  
\</tr\>  
\</table\>\<br\>";  
}  
echo "  
\<hr color=’#000066’\>

I know it is something simple that I am missing here. Any help will be greatly appreciated. Thanks
