Javascript stats in flash?

If anyone knows this it would really help me :sigh:

I have a flash website that needs to gets stats and I can’t just put this on the html page because there are many swf files that load into the site

I am hoping someone knows how I can use this javascript and put it into my swf files? or any other way possible

this is the script I am using:

<!-- Start of StatCounter Code -->

<script type=“text/javascript” language=“javascript”>
var sc_project=319383;
var sc_partition=1;
var sc_invisible=1;
</script>
<script type=“text/javascript” language=“javascript” src=“http://www.statcounter.com/counter/counter.js”></script>

<!-- End of StatCounter Code -->

thanks if anyone can help :hugegrin: