A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: [F8] How to show location of user?

  1. #1
    Senior Member Shnitzel's Avatar
    Join Date
    May 2007
    Location
    IL
    Posts
    130

    [F8] How to show location of user?

    Hey,
    I've been looking all over the internet for something like this, and I know it exists, I saw it somewhere.
    How can I make a flash file show the location of the viewer? For example, if he is watching the flash file from the US, it will show in a dynamic box: USA.
    Is it similar to the -time=new Date();- AS? >.<
    This is probably the first time Google have failed me...

  2. #2
    Flashmatics silentweed's Avatar
    Join Date
    Mar 2005
    Location
    London, UK
    Posts
    4,876
    Hi welcome to FK ..this tutorial may be of help to you

    http://www.nunomira.com/blog/?p=27#
    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

  3. #3
    All 1s and 0s dmonkey's Avatar
    Join Date
    Nov 2005
    Location
    Leeds, UK
    Posts
    606
    Hi,

    You can't do this from within Flash; you would have to use a server-side script and pass the info to Flash.
    "If I have seen further, it is by standing on the shoulders of giants." - Sir Isaac Newton

  4. #4
    Senior Member Shnitzel's Avatar
    Join Date
    May 2007
    Location
    IL
    Posts
    130
    Wow... Thanks silentweed I'm sure that will help me.
    And dmonkey, isn't that what's in the link silentweed posted? Thanks anyway.
    Last edited by Shnitzel; 05-20-2007 at 01:49 PM.

  5. #5
    All 1s and 0s dmonkey's Avatar
    Join Date
    Nov 2005
    Location
    Leeds, UK
    Posts
    606
    Yeah sorry, I posted at the same time almost.
    "If I have seen further, it is by standing on the shoulders of giants." - Sir Isaac Newton

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