A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: check browser language and pass result as var to swf?!?

  1. #1
    Senior Member
    Join Date
    Aug 2007
    Posts
    121

    Question check browser language and pass result as var to swf?!?

    i am wondering, if its possible to check the users browser language and pass the result as a variable to the embedded swf?

    any ideas? (i dont want to create more than one html file anymore for various language versions...)


  2. #2
    Senior Member
    Join Date
    Aug 2007
    Posts
    121

    Exclamation

    i ll have to pass the variables somehow like:
    Code:
    <param name="flashvars\" value=\"lang=".$lang."\" />
    do i have to configure the server somehow fopr this (content_negotation)?


  3. #3
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    can you make use of System.capabilities.language property within Flash ?

    http://books.google.com/books?id=k2g...sult#PPA485,M1

  4. #4
    Senior Member
    Join Date
    Aug 2007
    Posts
    121
    works fine.
    thanks dog

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