Hi, I am using this code to pass the users name to the shockwave movie by calling a handler in adobe director.
I had this working on my trail run but now I cant get it to work. hope somone can help.
The code below was what was given to us to use and is the only real variable as the shockwave movie is not the problem.
[/code]<!-- javascript function. you may copy this and paste into the head tag. change the 'ParamEg1' value to the name of your shockwave movie -->
<!-- you may also copy the code at the bottom for the input field -->
<script language="Javascript">
function setPlayer(){
shockMovie=ParamEgB;
shockMovie.EvalScript(inputForm.playerName.value);
return 0;
}
</script>
<!-- you may also copy these three lines to set up the input field and paste into the body tag -->
<form name="inputForm" method=POST>
<input type="text" id="playerName" value="Player name">
<input type="button" value="Submit" onClick="setPlayer()">
[code]