A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: simple counter if flash?

  1. #1
    Member
    Join Date
    Feb 2002
    Location
    Greece
    Posts
    48

    simple counter if flash?

    hi

    i need to make a counter for a flash page
    i don't want/need to show the counter, i just want to be able to know how many hits the page has.

    I suppose i can write a php script that when called (from flash when it loads)
    it will write +1 in a txt file.
    the problem is that i don't know how to call it from flash.

    can i just call loadVariablesNum("counter.php",0);
    and the php will not return anything to the movie, it will just write +1 in a file. Or do i have to return a garbage var?

    thanks
    ~m@gma~

  2. #2
    Senior Member
    Join Date
    Jun 2001
    Location
    Swe
    Posts
    378
    it doesn't have to be in the flash movie. just use a simple php counter: http://tutorials.php-princess.net/index.php?p=31&more=1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center