# Hit counter with flash

**URL:** https://forum.kirupa.com/t/hit-counter-with-flash/184313
**Category:** Uncategorized
**Created:** [April 4, 2006, 8:18am UTC](https://forum.kirupa.com/t/hit-counter-with-flash/184313 "2006-04-04T08:18:33Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![3dsound](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/3dsound/32/78_2.png) [@3dsound](https://forum.kirupa.com/u/3dsound)
#### Post date: [April 4, 2006, 8:18am UTC](https://forum.kirupa.com/t/hit-counter-with-flash/184313/1 "2006-04-04T08:18:33Z")

</div>

I have tried several tutorials with either php or cgi, and they just don’t work! I did change the permissions to the right chmod and my server support both php & cgi.

Last one I tried was this one. And even though it works on their online sample it doesn’t for me.

[http://www.webwasp.co.uk/tutorials/...unter/index.php](http://www.webwasp.co.uk/tutorials/...unter/index.php)

Then I also tried the one on Kirupa. I didn’t even get through the entire tutorial because I got a message that told me that the script was to work as a flash 5. I am using flash mx and I need to export as flash 6.

Anybody knows some good tutorials that actually work?

---

<div class="post-metadata">

### Author: ![3dsound](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/3dsound/32/78_2.png) [@3dsound](https://forum.kirupa.com/u/3dsound)
#### Post date: [April 4, 2006, 10:22pm UTC](https://forum.kirupa.com/t/hit-counter-with-flash/184313/2 "2006-04-04T22:22:42Z")

</div>

Is that so impossible to get a counter done in flash? lol I have exhausted everything. I never thought I’d spend so much time on something that seemed so simple to make at first. :stunned:

---

<div class="post-metadata">

### Author: ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)
#### Post date: [April 4, 2006, 10:26pm UTC](https://forum.kirupa.com/t/hit-counter-with-flash/184313/3 "2006-04-04T22:26:51Z")

</div>

Up at the top of EVERY Kirupa page is a search field, I exaustively typed “hit counter” in it then clicked on the first result and this is what i got:

[Hit Counter in Flash using PHP](http://www.kirupa.com/developer/mx/hitcounter.htm)

BTW, this tutorial was written for Flash MX.:thumb2:

---

<div class="post-metadata">

### Author: ![3dsound](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/3dsound/32/78_2.png) [@3dsound](https://forum.kirupa.com/u/3dsound)
#### Post date: [April 4, 2006, 10:35pm UTC](https://forum.kirupa.com/t/hit-counter-with-flash/184313/4 "2006-04-04T22:35:53Z")

</div>

> [@Defective](#):
>
> Up at the top of EVERY Kirupa page is a search field, I exaustively typed “hit counter” in it then clicked on the first result and this is what i got:
> 
> [Hit Counter in Flash using PHP](http://www.kirupa.com/developer/mx/hitcounter.htm)
> 
> BTW, this tutorial was written for Flash MX.:thumb2:

LOL well I did mention on my post that I tried the one from this site but it didn’t work at all. I even downloaded the final and still nothing. I don’t understand cause my server does accept php4! I really don’t know what’s wrong.

---

<div class="post-metadata">

### Author: ![3dsound](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/3dsound/32/78_2.png) [@3dsound](https://forum.kirupa.com/u/3dsound)
#### Post date: [April 5, 2006, 6:03am UTC](https://forum.kirupa.com/t/hit-counter-with-flash/184313/5 "2006-04-05T06:03:11Z")

</div>

anybody ever tried that tutorial on kirupa?

Seems like I have to give up on this one… It seems like it’s not possible ☹

---

<div class="post-metadata">

### Author: ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)
#### Post date: [April 5, 2006, 11:45am UTC](https://forum.kirupa.com/t/hit-counter-with-flash/184313/6 "2006-04-05T11:45:54Z")

</div>

I just tried that tutorial, it works fine. Have you tried tracing or testing to try to narrow down where the issue is?

---

<div class="post-metadata">

### Author: ![3dsound](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/3dsound/32/78_2.png) [@3dsound](https://forum.kirupa.com/u/3dsound)
#### Post date: [April 5, 2006, 11:59am UTC](https://forum.kirupa.com/t/hit-counter-with-flash/184313/7 "2006-04-05T11:59:13Z")

</div>

I also tried this one:

> **[SecurityProNews Archives](https://www.webpronews.com/technology/securitypronews/)**
>
> SecurityProNews

I followed the instructions and changed the permissions, not working. It stays at 1. I have attached my files here if anybody can help me?

---

<div class="post-metadata">

### Author: ![3dsound](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/3dsound/32/78_2.png) [@3dsound](https://forum.kirupa.com/u/3dsound)
#### Post date: [April 5, 2006, 9:54pm UTC](https://forum.kirupa.com/t/hit-counter-with-flash/184313/8 "2006-04-05T21:54:22Z")

</div>

> [@Defective](#):
>
> I just tried that tutorial, it works fine. Have you tried tracing or testing to try to narrow down where the issue is?

I didn’t even get to that point. when I followed the instructions on that tutorial, when I tried to copy and paste: this.loadVariables(“count.txt?num=”+random(999));  
I get this message:  
“the actions on the clipboard contains errors. Actions with errors cannot be pasted into Normal Mode”

---

<div class="post-metadata">

### Author: ![rhamej](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@rhamej](https://forum.kirupa.com/u/rhamej)
#### Post date: [April 7, 2006, 9:57pm UTC](https://forum.kirupa.com/t/hit-counter-with-flash/184313/9 "2006-04-07T21:57:41Z")

</div>

Switch to advanced mode. You cant paste actions into the normal mode window. =)

---

<div class="post-metadata">

### Author: ![3dsound](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/3dsound/32/78_2.png) [@3dsound](https://forum.kirupa.com/u/3dsound)
#### Post date: [April 7, 2006, 10:23pm UTC](https://forum.kirupa.com/t/hit-counter-with-flash/184313/10 "2006-04-07T22:23:56Z")

</div>

> [@rhamej](#):
>
> Switch to advanced mode. You cant paste actions into the normal mode window. =)

LOL oh wow so I did & I was finally able to finish this tutorial. And it works!!! Thank you! =)
