Javascript to flash

Hi I have this code which sends a number input by the user to a flash swf which then uses this value.
I am just wondering if anyone knows which part of the code is doing this and how i can make it so that it passes more than one value.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript" src="swfobject.js" ></script>
<script language="javascript" type="text/javascript">

	
	function callAS3(var2pass)
	{
		if(navigator.appName.indexOf("Microsoft") != -1)
		{
			jsAS3.calledFromJs(var2pass);
		}
		else
		{
			window.document.jsAS3.calledFromJs(var2pass);
		}
	}
</script>
</head>

<body>
<div id="flashcontent_js">	
	</div>
	    <script type="text/javascript">
		// <![CDATA[
		
		var so = new SWFObject("jsAs3.swf", "jsAS3", "300", "200", "9", "#FFFFFF");
		so.addParam("menu","false");
		so.write("flashcontent_js");
		
		// ]]>
		</script>
		
        <form name="theForm">
            <input type="text" size="10" value="Insert Number up to 500" name="theText"></input>
            <input type="button"
            value="Click Here"onclick="callAS3(document.theForm.theText.value)">
        </form>
		
</body>
</html>