ActionScript 3.0 :: Detect Country And Set Language?
Dec 30, 2009
I wanted to set the language of my flash website based on the users location country wise. I know there are some methods with php and searching a database but I am trying to avoid that route.
I found one script in javascript that links to a webpage and produces a document.write if you go to that link. It returns the users country i believe. but there seems to be no documentation.
I have static background and do not know how to do motion of logo from country to country. and end up with logo static in North America I have files to send if needed
I was just on the phone with Macromedia Technical support.Im using arabic language in one of my projects. Arabic is a right-to-left language.I'm usng it in the textarea component. Im facing two problems:
1) The words are displayed okay, but I can't align them to make them appear from right to left...
2) At the end of each sentence, the last word is chunked, and the rest is appeared in the next line.
For example, the sentence "Adobe purchased macromedia" is displayed as:
Adobe purchas ed Macromedia
Like that. Obviously, flash cannot detect the words (or rather the spaces between them).
Question: Is it possible to let flash load different files with an if-statement depending on from where the file is entered?My plan is to publish the swf with an html file. So theoretical as there are many different locations for IP adresses it should be possible to have the if-statement check, from where my file is opened
By default, when you visit a website that is made entirely in Flash and there is a Tme and Date movie clip feature... you know... it gets the current time and date of your computer so you're actually seeing your own time, right? What I've always wanted to do is when you visit a website that is made entirely in Falsh, and you have a Time and Date movie clip that tells the creators current time and the current date instead of just getting the values of your computer time and displaying your own. I'm in the Philippines so I want the visitors of my site to view what time and date is it in the Philippines.
By default, when you visit a website that is made entirely in Flash and there is a Tme and Date movie clip feature... you know... it gets the current time and date of your computer so you're actually seeing your own time, right?
What I've always wanted to do is when you visit a website that is made entirely in Falsh, and you have a Time and Date movie clip that tells the creators current time and the current date instead of just getting the values of your computer time and displaying your own. I'm in the Philippines so I want the visitors of my site to view what time and date is it in the Philippines.
i am beginner dont know how do display all country time into a single page using action script 3 in flex . do u know any example time code refer me . i will try that code .
As usual I brought a problem for you guys to help me figure it out. What's happening is that I currently finished developing a MMO for a famous and big company in my country, I have one week before uploading it to their server and everything is ok, besides the performance.
I'm using smartfox 2.0 and I have several rooms, what happen is that if I go inside any of the rooms everything is beautifull and fast, but if I quit the actual and go to another it will be slower, and if I do this over and over again it gets slower each time I do this.
I don't what it can be, I caught the project in the middle of the way and did my part, I was revising the code but I have no idea where to look for something wrong.
I want to know about countrywise digital clock. I have a map and when I mouseOver on a country then it should show the time of that that country.like when i over on india then it should show the indian time and when i over on china then it should show the chinies time..
I found a script I want to use, but it's written in AS2 and I'm authoring in AS3. So I grabbed the *.fla file and tried to ctr+shift+F12 to edit publish settings and change the language to AS3. But it's not available in the drop-down.
I haven't programmed in a while, and have kind of lost interest, but I want to get back, and I've enjoyed C# the most, a lot more than objective-c and visual basic. So I want to make some games that me and my friends will be able to play next school year. So basically something you can play on the web.
What programming languages deploy to the web?If c# is possible, and a mac with safari/firefox would be able to use it (I can't install plugins, and I don't want to get in trouble for making myself admin again)Flash, Java, etc. If java does, I'd like that most since it's most like c#. Then what libraries/engines would I use? I want to do 2d. And then what IDE would I use?
Sorry if this has been discussed somewhere else on stackoverflow (I could not find it), or if it is not a "programming" question (more like a discussion). Is it good to avoid using an IDE (Flash Builder, Visual Studio...) while first learning a new framework or language?
it doesn't display the necessary language, English only. after the encoding has been changed, it also doesn't work.probably the font should be changed into a standard one, but i don't know where to do it
We're designing an app that will run on Windows, OSX, iOS, and Androids. It would be really nice to at least have most of the code in a single language rather than having to use Objective C for the Apple versions, C# or C++ for Windows, and Java for Android.We were looking at Flex (with all of its problems) as a way to avoid having to use a different language for each version, but Adobe has thrown in the towel and in the long run that's not going to do the job. Java used to promise to be universal, but it looks like Apple no longer supports it as a part of the distributed OS, and as far as I can tell Microsoft never supported it. We don't want our users to have to download and install something just so they can use our app.Is there a solution? Or are we stuck with building the app in multiple languages?
I installed the new Flash Builder.Does anybody know how to switch the language to english?Looks like the installer installs eclipse in the langauge of the os.in my case that was german.I know you can change the language for FlashBuilder in Windows by editing one of the dll's. How to get the same result on MacOs?
I have been working on a script for weeks now and had a problem saving the file so i tried saving it to another location when i re-opened the file my actionscript code which was in english has gone and been replaced by what looks like is chinese or korean ??? is there anyway that could have happened and can i reverse it back??
I'm using Flash CS3 with Actionscript 3, and I need to have a scripting language that the user can use. If they could type in their own actionscript and have it evaluated, that would be perfect. Another scripting language such as Lua would be fine too. I looked into lua alchemy, but it seems poorly supported so I'd rather not use that. The Eval command from actionscript 2 isn't available in as3, and some of the things I've heard indicate that it's functionality is pretty limited, although I've never used it before.
Actionscript 3 and am trying to make sub-titles for my video based application.I have managed to get the English subtitles for the same. However, I was wondering as to how the same could be implemented for other languages which do not have same font as English words?
I'm new to ActionScript, but not to programming. I'd like to browse the language specification for ActionScript 3. It is accessible online at ActionScript 3.0 Language Specification. Is there a compiled PDF version of it somewhere? Or is there perhaps some PDF export button I'm missing? I prefer browsing big docs like that in book form--and to have it accessible offline and outside a browser.
I have swf file containing a game with english language. for question sake will call it mygame.swfNow what I want to do, is to take the fla file and translate it to french and german and save to differen swf files.So now i have:English - mygame.swfFrench - ygame_fr.swfGerman - mygame_gr.swfSame game, different language.My question is: what is the acceptible / good way to contain text in fla file so it will be in one place? like hashtable or some array?I am developer, just not flash developer this is why Im trying to consoult Im not interested in keeping data in external files (xml), I want everything to be keept within swf.
What method or process do I use to set an iOS app to only one language?I recently had an iPad app written in Flash CS5.5 approved at the iTunes app store. I noticed at the iTunes store, it indicates that my app is localized in 14 different languages. I never set this up; it seems that there is a process that automatically adds several default language localizations to the ipa binary when the file is published. I tried the strings panel, used a var to set the localID, went into the SDK for flex and flash builder and deleted the locales (could not find anything similar for Flash itself), but none of this seems to prevent Flash from adding the language defaults. I have found many examples on how to localize my app for several languages, but nothing on how to set it to only one.
When we are building a application in Flex the components that we add are in English. Lets say that i want to change then to French, Spanish or Portuguese. How could i do that?? I've google a bit about it, but nothing good. I didn't look too much, because you guys always now things, and here in SO its more faster to ask than search for it : I think i didn't expressed my self correctly.