Greybox/external interface call as3

Hi Everyone,

I am trying to open a greybox window from my flash movie. I am not getting a syntax error, but the window will not open when I click the button, either.

Here is my actionScript 3 code:

ActionScript Code:
[LEFT]ericEmail.[COLOR=#000080]addEventListener[/COLOR][COLOR=#000000]([/COLOR]MouseEvent.[COLOR=#000080]CLICK[/COLOR], buttonclicked[COLOR=#000000])[/COLOR];

[COLOR=#000000]function[/COLOR] buttonclickedCOLOR=#000000[/COLOR][COLOR=#000000]{[/COLOR]
ExternalInterface.[COLOR=#0000FF]call[/COLOR]COLOR=#000000[/COLOR];
[COLOR=#000000]}[/COLOR]
[/LEFT]

FYI: I tried putting the URL parameter in single quotes and double quotes, also.

here is the html code I placed in the head tags of the page that I want to appear in the GB window:


<script type="text/javascript">
var GB_ROOT_DIR = "http://www.cosmogrey.com/greybox/";

</script>
<script type="text/javascript" src="greybox/AJS.js"></script>
<script type="text/javascript" src="greybox/AJS_fx.js"></script>
<script type="text/javascript" src="greybox/gb_scripts.js"></script>
<script language="javascript">
 function opengreybox (ParameterFromFlash){
     GB_showCenter('Trautmann',ParameterFromFlash, 300, 400)
}
</script>
<link href="greybox/gb_styles.css" rel="stylesheet" type="text/css" />


You can see this in action (or “inaction”, more aptly) by going to http://www.cosmogrey.com and clicking on “our marketing firm”.

Please help.

Thank you, kindly!!!