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:

ericEmail.addEventListener(MouseEvent.CLICK, buttonclicked);
function buttonclicked(event:MouseEvent){

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 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)
<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!!!