Meaning 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?
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?
If I embed the same asset (i.e. image or sound file) in multiple components within a Flex Application, does the compiled swf contain the asset (and it's file size) only once or once for each time it is embedded?
I'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.
the flash movies I am working on contain many dynamic text boxes. I need to embed the fonts in each movies (about 15) in order to have characters, caps, punctuation and accents.
Right now, the flash files are only 5-10kb, but when I embed the font, they become 50-60kb. I know this is normal. However, I would like to be able export the font only once, and have it attached to all movies.
I am making a Flash movie where a user can change the font of a text field(AS3), and due to the embedded fonts functionality even fonts that ar not on the users computer can be selected.The problem is that I can embed only one font per text field. This should be no issue because they are embedded in the example text and are included in the library. But this does not work!It does not matter whether I use the font name or the name of the font in the library with trailing '*', it simply shows _serifThis problem drives me cray because it disables the main feature of the application.
I currently embed a swf video on an html page with this script:
<script type="text/javascript" src="swfobject.js"></script> <script type="text/javascript"> window.onload = function() { if (swfobject.hasFlashPlayerVersion("9")) { var att = { data:"player_3982x260_fv4.swf", width:"640", height:"323" }; var par = { menu:"false", allowfullscreen:"true" };
[Code]...
I've attempted a few different ways to embed two SWFs in the html but havent had any luck. Here's the test page I'm working on: [URL]... How would the window.onload = function() be changed to refference two different swfs?
In Flex/AS3 font embedding has been totally revamped. You have to use the Embed tag. Simple embedding of a single font isn't a problem but when I try to embed multiple members of a font family, I get into trouble. I want to embed Helvetica and Helvetica Bold in one of my projects. Embedding Helvetica isn't a problem but I can't get the bold to work. If I just embed the bold font I get this error:
What 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.
use 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
How 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?
I 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.
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?
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:
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?
ActionScript 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?
Some 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]
how 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.