ActionScript 2.0 :: 2 Different Languages In Flash Website?
Nov 25, 2009Does anyone know how to do this in Flash? Do I have to make two different contents or Flash has a way to translate it right away?
View 1 RepliesDoes anyone know how to do this in Flash? Do I have to make two different contents or Flash has a way to translate it right away?
View 1 RepliesMeaning I have to create programs where you have a lot of text involved and this has to be in multiple languages eg: german. For example in german you have letters like that cannot be displayed in flash (at least I couldn't sofar figure out HOW). Therefore I wanted to know if anyone has an idea how to do this? Possible I need a language pack for cs4 or something similar?
View 4 RepliesDoes any one heard of some review or article about arabic in flash?
View 3 RepliesI need to change language in a flash site, How can i change?.for example I want to change total language into Fracis in this site
View 1 RepliesI'm currently working on converting an Android app I built natively as an iPhone app. I'm recreating it in Flash as I know AS3 but not Objective C. My original Android app is localized for 4 different languages (it's so easy to do with Android!) - and my question is - how would I do this for the iOS version from Flash? Would I be able to use separate XML files with all the strings in each language and load them in after somehow detecting which language the user's device is set to?I ended up using the following code:
var languageSettings:Array = Capabilities.languages;
var locale:String = languageSettings[0].toString().toLowerCase();
This gave me a 2-letter language code: 'en' for English, 'de' for German, etc. which I was able to use to load the correct xml file for each language.
Basically, I need the ability to embed multiple languages into flash, then display them when I want.
I tried Chinese, but every font I found dropped characters. So I've decided to go back to basics, and do European languages (French etc).
I've read quite a bit on it, about the unicode ranges etc, but I'm still struggling a bit.
Does anyone know of a list of fonts that encompasses certain languages?
I'm linking the font file to the library (which seems to only embed traditional English letter, a-z etc), so I guess I need a multinational font?
How do you make a Flash movie (using Haxe, or Actionscript code rather than the IDE) that supports multiple languages?Can you detect the browser's language?Are there utility classes for managing the strings and selecting the appropriate one based on language?
View 2 RepliesI know that you can embed characters into a dynamic textfield for languages in Flash. But is there a way to do that dynamically?
View 5 RepliesWhat options exist for rendering markup in Actionscript? I am looking for something I can use to write templates for menus, tooltips, and other display/frontend stuff in a Flash application. I want to be able to load a template from a string, and then render it as a display object. The kinds of things that would go inside would include text, with possible font styles, text positioning, and images.
View 3 Repliesuse local languages like Tamil, Hindi, Other than English in flash not only for Displaying the content and for Getting input(Like Gmail unicode type writer) also in these languages
View 1 RepliesI have 2 websites both built entirely in flash.My problem is that I have created a button on 1 of the sites that has to link to a particular scene and frame within a different flash website.
View 6 RepliesWhat would be a straightforward way of dubbing over an flv for different languages?
ie with the ability to scrub the audio and the video insync with on another?
How can I use restrict option of the TextField class with other languages?[code]...
How can I use it to enable to add just basic punctuation characters for example for hebrew or for so cyrilic languages taht use UTF-8 encoding?
Just wondering if there is a function to convert a date in as3 into other languages? (the day/month)
Or will it simply be a case of me writing a function to search the string and replace?
How does Flash support fonts in different languages?
What is the easiest approach when developing an app which will contain multiple languages?
The reason I ask is because I know that embedding fonts takes up a lot of space, are there any alternatives to embedding? Is it worth it??
I want to use a flash preloader for my php website. I have seen some javascript examples; but I want something attractive and cool. So I want use flash preloader which will show the percentage of the website loaded.My website is kinda heavy(with lot of images). It looks bad when the contents load. So I want to show a flash preloader while the site loads.
View 2 RepliesHow does one actually go about writing a file out to a directory from inside a class or is there an actual class that handles that like in other languages?
View 14 RepliesI can't use charCode, or keyCode in KeyboardEvent to find out the character pressed, because even if I change the keyboard layout, charCode and keyCode are not change (if press the same key).So, how to find the presssed character, following to the current keyboard layout?
The charCode property is the numeric value of that key in the current character set (the default character set is UTF-8, which supports ASCII).is not correct.
Now I am working with a Class, where I want to switch languages, and:
ActionScript Code:
package source.actionscript {
[...]
[Code]....
Variable DEFAULT_LANGUAGE is set to 0 and then loading POLISH TEXT into textField.
Now, when I will click on textField by CLICK listener, the var DEFAULT_LANGUAGE will change to 1, so should load ENGLISH TEXT, but nothing happens, because I don't know how to call function again, in that case it is XMLDATA_COMPLETE.. Of course when I change manually var DEFAULT_LANGUAGE from 0 to 1 works great. But how to do this by clicking on textField?
My idea is create n different txt files (n is the number of different idioms) and put lots of variables there.
Once the user has chosen the idiom he prefers I must load the right TXT file. and load the variable from this TXT file to the AS code.
I know that it was possible in AS 2.0. Not completely sure about, but i think that the name of this technique is Loadvars.
I have some problems with my homepage. I want the user to be able to chose their own language. Sedish English or german. What I want is that you klick a flag in the intro of the page and then Flash should remember that and get my variable datas in the right languages. As I said, three flags. what should i wright on them? actionscript? ex:
[Code]...
I'm currently building a flash website (Flash 9, AS3.0) which will be bilingual (English and French). I'll be using XML and txt files to store the text in both languages. I was wondering, what is the best way to store and use the user's language choice? I was gonna use a global variable, but apparently these are out in AS3, and the alternative way doesn't look like good practices, so i'm not sure what to do.
Here's an example i found which has multiple languages, but in this example, I don't find it practical to have to use different frames to load the different texts. So i'd be interested in suggestions for other approaches to try.
Are there any relatively simple programs for building flash applications. I want to add a basic card game to my site, that can keep track of the user's score. The site right now is built in just html, though I will be changing it over to php shortly to implement a log in system. I'd really like to avoid having to learn actionscript on top of it, there has to be some sort of.. basic wysiwyg type flash builder out there?
View 2 RepliesActionScript allows you to mark a variable as [Bindable], causing any changes to that variable to have immediate effect all over your application.How would you implement this feature in your favourite programming language?
View 1 RepliesSome may know that PHP methods can be remotely invoked from Flash.Sometimes the input parameter of a remote PHP method is an array of integers.Because PHP is dynamically typed an attacker can pass an array of anything.The array of integers has to be used in a SQL query.[code]
View 2 Replieshow to output characters from foreign languages in Flex and ActionScript.
To start, I'm just trying to output Cyrillic in a text control, but its just not working.
Ive tried BOM (Byte Order Marks) indicating UTF-8 in the XML file containing the text. I also specified "<?xml version="1.0" encoding="UTF-8"?>" in that file, and also in the actual MXML file. The actual text control is in a seperate AS3 file without a BOM, but I'm compiling everything with -actionscript-file-encoding="UTF-8".
The original cyrillic text came from an html file with a BOM indicating utf-8. I can paste that text into any html file with the same BOM and it displays correctly; take out the BOM and its garbage, so all that is needed is the correct Byte Order Mark at the start of the html file.
I have an online application that loads a variety of different languages. I have one main interface file that loads the appropriate language that is needed for the end user. These languages are being loaded from a txt file encoded using UTF - 8. Most of the languages are displayed fine in the dynamic text fields that are all embedded in Arial. The issue I have recently run into is with the French and Czech languages. In both languages the white space that follows a number is always removed. For example "20 minutes" would be displayed as "20minutes". Then in the Czech language I am also loosing spaces after certain letters, such as "a" and "v".
View 1 RepliesRight I'm back on making a video player with selectable dubbing for different languages. On 56k simulator. (3min video.....audiolessFLV =5MB, mp3 = 707KB)using net stream
Preload - ---------------------------------- 19 seconds
aprox "6 Minutes worth of subtitles" (2xmls) + 50% audio -- 1min27secs
NB... this is NOT including FLV download as the DL sim, doesn't account for that.
For saftey lets say 10 second audio buffer delay... so what double/triple accounting for flv? Another issue is sync. According to ns.time and s.position, the audio is half a second early... when in sync.
1-2 moves of the scrubber is ok, but if you start messing around with the scrubber it goes out of sync.
Is the sync issue my code problem or an inhertant issue?
Code:
_root.controlbar.loader.scrub.onPress = function() {
vFrame.onEnterFrame = _root.scrubit;
this.startDrag(false, 0, this._y, 298.3, this._y);[code].....
am i publishing the movie incorrectly? It works great when I preview the flash file (cntrl+enter), but after I publish it and insert it into the html (in dreamweaver), the file shows up and animates perfectly, but when clicked, no link... It doesn't do anything
View 3 RepliesHow to stop Actionscript flow for few seconds like sleep function in other programing languages?[code]...
View 7 Replies