| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
|
Hi,
I've downloaded your counter and I tried to put it in my host. I set the crrect permissions and: in one of my host it works perfect but in another host it doesn't work. Both of them has support php3. why? And, I How can I transfer it to flash 4? Your file was created in flash 5, and My site is built in 4, and I don't want to upgrade to 5 just becasue the counter. Thanks Ido icq:6460240 vizido@hotmail.com |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
Perhaps your server doesn't support writing files. PHP may be enabled but some elements of the launguage may be dissabled for security reasons. This is the only reason I can think of for it not working on one while working on another.
OK here are the changes you have to make: if (startup eq "") { startup = "Run Already"; loadVariables ("counter.txt?" add random(2000), "/counter"); } change 'add' to '&' if (loaded == "1") { gotoAndPlay (3); } else { gotoAndPlay (1); } change '==' to '=' count = Number(count) + 1; loadVariablesNum ("counter.php3?count=" + count, 0); stop (); Set Variable (count, count + 1) replace the '+' in LoadVariablesNUM with an '&'. That's it. Now it's Flash 4 code. Cheers Jesse
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Counter with remote PHP or even without?? help!! | kmicic | Server-Side Scripting | 3 | 01-14-2006 08:27 PM |
| counter that records number of times frame accessed | bethany | ActionScript 2.0 | 3 | 05-07-2004 03:32 AM |
| levels and variable problem | aolba | ActionScript 1.0 (and below) | 5 | 01-05-2003 10:06 PM |
| update counter | hoayfern | ActionScript 1.0 (and below) | 3 | 10-02-2002 03:10 PM |
| Creating an internal clock based counter | Decoy007 | ActionScript 1.0 (and below) | 3 | 01-10-2002 01:26 PM |