Skip to main content
August 21, 2007
Question

Detecting Visitor's Language with script

  • August 21, 2007
  • 3 replies
  • 194 views
i've made a flash welcome page like this====> azblink
is there any way i can detect the visitors' language....
so when they click the circles..... the links will direct them to the certain pages.
for example: visitors from US will see the en_us index.html
visitors from China will see the zh_cn index.html
do i hav to add action script on the buttons? help plz >"< really appreciate it!!!!
This topic has been closed for replies.

3 replies

Inspiring
August 22, 2007
No problem. You're welcome.
August 22, 2007
yeh! it works! thank u so much!
Inspiring
August 21, 2007
Perhaps you could use this property:

System.capabilities.language

see: http://livedocs.adobe.com/flash/9.0/main/00001513.html#wp194647

If on the other hand you want to do it by geolocation then I think you need some sort of 3rd party service for lookups from your server and pass the info to flash.