A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: hit counter issue

  1. #1
    Zombie Coder EvilKris's Avatar
    Join Date
    Jun 2006
    Location
    Fukuoka, Japan.
    Posts
    796

    hit counter issue

    Hi, some guy I'm working with has asked me to add the following code to my file so that he can check how many hits it's getting

    Code:
    var myLoader:URLLoader = new URLLoader();
    
    myLoader.load(new URLRequest("http://www.blahblah.com/blah.php?gameid=GAMENAME"));
    Do you know why it won't work?
    I occasionally get an error pop up when I run it in flash, something like Error #2044: Unhandled ioError:. text=Error #2032: Stream Error
    ??

  2. #2
    Senior Member Draxus's Avatar
    Join Date
    Sep 2007
    Location
    Florida
    Posts
    123
    Could be:

    1. No cross-domain policy file on his server.
    2. Publish settings set to "access file only"
    3. CS4 blocked by a firewall maybe?

  3. #3
    Senior Member bluemagica's Avatar
    Join Date
    Jun 2008
    Posts
    766
    have you tried going to the url directly via browser?
    If you like me, add me to your friends list .

    PS: looking for spriters and graphics artists for a RPG and an Arcade fighting project. If you can help out, please pm me!

    My Arcade My Blog

    Add me on twitter:

  4. #4
    Zombie Coder EvilKris's Avatar
    Join Date
    Jun 2006
    Location
    Fukuoka, Japan.
    Posts
    796
    ah never mind, we used MochiBot instead. Cheers!

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