A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: flash and php help please

  1. #1

    flash and php help please

    need help with flash and php

    i made myself a hit counter for how many times my swf was viewed

    with the code

    loadVariablesNum("filename.php", 0);

    which then loads my php

    now my php code opens my txt file and increases the number in there by one

    my hit counter works as you can see here www.cnc.hopies.co.uk

    but now i wanna make it work via button for example i have a download link under this link it says number of times downloaded with a blank dynamic text box with a var name now i click this button i want that button to loadVariablesNum("download.php", 0); how do i do this?

    is this the way i do it and is this the way i make raters for rate this file?
    i tried to do the times downloaded but its not working nor is it working via server (FTP)

    i tried this code

    onClipEvent (load) { //i even tried enterFrame
    this.onPress = function() {
    loadVariablesNum("download.php", 0);
    };
    }

    can anyone please help me
    The one that smiles when things go wrong, Has thought of someone to blame it on

  2. #2
    anyone help then?

    please
    The one that smiles when things go wrong, Has thought of someone to blame it on

  3. #3
    hello

    can anyone help?

    anyone at all

    can you even reply?
    The one that smiles when things go wrong, Has thought of someone to blame it on

  4. #4
    Flashmatics silentweed's Avatar
    Join Date
    Mar 2005
    Location
    London, UK
    Posts
    4,876
    for website stats i would recommend using google analytics.. have a look at http://board.flashkit.com/board/show...ogle+analytics for further information ...
    Flashmatics | Flashmatics Library (free downloads)
    -----------------------------------------------------
    Latest Projects:
    The Dead Room | Are You Smarter | Prison Break (Frame A Friend) | Beck's Fusions | The 24 Experience

    -----------------------------------------------------
    Flash Certified Developer

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