# Javascript stats in flash?

**URL:** https://forum.kirupa.com/t/javascript-stats-in-flash/113751
**Category:** Uncategorized
**Created:** [June 21, 2004, 5:17pm UTC](https://forum.kirupa.com/t/javascript-stats-in-flash/113751 "2004-06-21T17:17:39Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![domi](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@domi](https://forum.kirupa.com/u/domi)
#### Post date: [June 21, 2004, 5:17pm UTC](https://forum.kirupa.com/t/javascript-stats-in-flash/113751/1 "2004-06-21T17:17:39Z")

</div>

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](http://www.statcounter.com/counter/counter.js)”\>\</script\>

\<!-- End of StatCounter Code --\>

thanks if anyone can help :hugegrin:
