Founder
August 26th, 2003, 12:59 PM
Hi,
How can I send the var ip from javascript to a flash movie
so I can display the ip in flash ?
something with FSCommand ?
this is the javascript used in a html page.
<script language="javascript">
//IP address display: By http://www.Hostroute.com
//Script featured on JavaScript Kit (http://www.javascriptkit.com)
var ip = '<!--#echo var="REMOTE_ADDR"-->'
function ipval() {
document.myform.ipaddr.value=ip;
}
window.onload=ipval
</script>
<form method="post" action="" name="myform">
<input type="text" name="ipaddr" readonly>
</form>
How can I send the var ip from javascript to a flash movie
so I can display the ip in flash ?
something with FSCommand ?
this is the javascript used in a html page.
<script language="javascript">
//IP address display: By http://www.Hostroute.com
//Script featured on JavaScript Kit (http://www.javascriptkit.com)
var ip = '<!--#echo var="REMOTE_ADDR"-->'
function ipval() {
document.myform.ipaddr.value=ip;
}
window.onload=ipval
</script>
<form method="post" action="" name="myform">
<input type="text" name="ipaddr" readonly>
</form>