your tutorial at this link:
http://www.kirupa.com/developer/mx/hitcounter.htm
there’s a line of actionscript in it that looks like this:
this.loadVariables(“counter.php?num=”+random(99));
Now, after 2 years of actionscripting, this line looked funny to me, but I did the tutorial anyway and sure enough flash says
"ERROR opening Url :“counter.php?num=”
Since the ‘num’ isn’t anywhere in the tutorial I thought maybe you meant
‘?count=’ so I tried that.
But that’s not where the problem lies. Suggestions please?
No that line should work, the “num” is there just to keep the loaded file fresh ever ytime it is loaded, to make sure itäs not loaded from the browser’s cache. (the chance here is 1 out of 99)
Now I’m not sure about how your flash and the handling of server side scripts is set up.
If you have been able to load php files through flash before then I don’t know what the problem could be.
But if u haven’t tried anything liek this b4 then I believe it’s how your flash is set up. I personally never test server side interactivity through flash, I have my own apache server set up so i can’t help ya there…
it wont work from your hard drive; you need to test it on a server