Probleme pour changer la langue dynamiquement avec flash cs4

Actuellement , je cherche un moyen simple de changer de langue dans mon swf
je travaille avec flash cs4
bien sur j ai Mylocale.as:
import mx.lang.Locale;
class MyLocale extends mx.lang.Locale {
    static function start():Void {   
        var langCode:String = xmlLang;
        currentXMLMapIndex = 0;
        xmlDoc.load(xmlMap[langCode][0]);
    static function setXMLLang(langCode:String):Void {
        xmlLang = langCode;
et les différents fichiers xml dans le répertoire du swf
dans chaînes , j ai coché : "remplacer les chaînes automatiquement lors de l'exécution"
avec donc une langue par défaut ( d'ailleurs je me demande , si le problème ne vient pas de là)
si je coche dans les paramètres de chaînes : "remplacer les chaînes manuellement en utilisant la langue de la scene" ou "remplacer les chaînes via actionscript lors de l'exécution"
mon code ne fonctionne pas.
donc j ai gardé :  "remplacer les chaînes automatiquement lors de l exécution"
dans mon animation j ai plusieurs scènes (pages)
p1, p2, p3, p4
dans p1
j intègre une barre de langue
puis 2 calques
Calque--action:
langListener = new Object();
langListener.change = function(eventObj) {
    var target = eventObj.target;
    var newLang = target.selectedItem.data;
    MyLocale.setXMLLang(newLang);
    MyLocale.start();
lang_cb.addEventListener("change", langListener);
// Force Japanese
lang_cb.selectedIndex = 1;
lang_cb.dispatchEvent({type:"change"});
Calque--langue ex Fr:
// Forces combobox to have the correct value
on (release) {
    var component = _parent.lang_cb;
    for (var i=0; i< component.length; i++) {
        var item = component.getItemAt(i);
        if (item.data == "fr") {
            component.setSelectedIndex(i);
            component.dispatchEvent({type:"change"});
            break;
ex Ja :
// Forces combobox to have the correct value
on (release) {
     var component = _parent.lang_cb;
     for (var i=0; i< component.length; i++) {
         var item = component.getItemAt(i);
         if (item.data == "ja") {
             component.setSelectedIndex(i);
             component.dispatchEvent({type:"change"});
             break;
quand je change la langue dans p1 , la langue est modifié pour  p2, p3 et p4
cependant , après une navigation dans p2, p3 et p4 ,dès que je reviens sur p1 , la langue par défaut se remet automatiquement , alors que je le l'ai pas changé manuellement.
je ne sait quoi faire pour résoudre le problème
à mon avis , le script ce reinitialise quand je reviens sur p1
y a t'il un moyen de conserver les changements de langues effectués  , jusqu'au changement manuelle de la langue ??
merci

pour la langue je crois qu'il faut désintaller et ré-installer, c'est long et pénible mais je ne vois pas d'autre solution. pour ré-installer en français, je crois qu'il est possible de télécharger un installeur depuis le site NI, sinon il faut contacter NI et leur demander d'envoyer un CD, à conditions bien entendu d'avoir une license valide.
pour le type de fichier, je ne sais pas, je n'utilise pas ce logiciel.
When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

Similar Messages

  • Probleme pour changer de langue de photoshop

    bonjour
    je cherche à pouvoir changer de langue dans photoshop CC , de francais en anglais sur mon mac,
    quelqu'un serait il m'aider ?
    merci

    Cette façon d'installer une autre langue.
    S'il vous plaît suivez ces étapes.
    Gene
    Puis dans les préférences de Photoshop, changer la langue et redémarrez Photoshop.

  • Can't change string variable values in Flash CS4 Debugger

    I'm using the Flash CS4 debugger, and while I can change numeric variable values in the Variables panel, I can't change string variable values. The only characters the fields accept are the numbers 1-9 and the characters "d" and "j".
    I can  paste strings  into the value fields, but that's a bit of a pain. I've tried this on a couple of different Flash CS4 installations and get the same results.
    Does anyone know if it's possible to change string values in the Variables panel of the Flash CS4 Debugger?

    See:
    http://forum.java.sun.com/thread.jspa?threadID=591012&tstart=15

  • How can i change the lenguage in adobe flash cs4

    i instal the sofware today and i try to do in sapnish but in the end is in english,,,i deleted the sofware from my computer beacouse not space in there,,so now i need to change the lenguage to spanish,,,some one can help me???
    thanks
    he instalado el programa de adobe flash cs4 por lo visto en ingles,,,sabe alguien como cambiarlo a espanol,,,,he borrado el programa bajado de adobe asi que no lo tengo para poder desinstalar y volver a instalar en espanol,,,me puede ayudar alguien..
    gracias

    The old-is-gold method: Uninstall the older version, reinstall the newer version.
    Alternatively (quicker and happy version),
    1. Go to Preferences.
    2. Select Language from the left side.
    3. Look for "Application Language" dropdown.
    4. Select "Choose at application startup".
    5. Restart Reader.

  • Change Html Title dynamic from Flash

    Hi,
    I want to change the Title of the Html page dynamically from
    the embedded Flash.
    The Title, that appears on Browser bars etc.
    Could I do this?
    On init I can load the Html source code in with LoadVars, and
    onData (src) change the Title with subString method, but, how then
    could I pass the new value back to the Html page, so the Browser
    Title changes?
    Thank you.
    Luciewong

    Thank you both GWD and Dave for the help.
    I know your code works under normal circumstances, just in my
    case, I can't get it to work.
    Because, on a subsequent Frame, called after the
    ExternalInterface.call,
    I have a getURL(javascript) to change the doc. background
    color.
    Now, either the Title changes or the background color
    changes, but both after each other, can't make it.
    I have tried Ext,CallBack function, so when the Title changes
    and callBack is true, move on, but still then it changes the BG,
    but not the title anymore.
    I must do something wrong with the callBack function?
    Thank you for your help.
    Regards,
    Luciewong

  • PROBLEME POUR LIRE UN FICHIER UFF AVEC SV SUITE

    Bonjour
    J'utilise LV2010 et Sound and vibration suite. Avec cette version le VI permettant de lire les fichiers UFF58 ne fonctionne pas.
    Lorsque j'utilise la solution décomposée, l'erreur est située sur le VI close.
    Auriez vous rencentré ce problème, et comment l'avez vous résolu?
    Merci
    Christian Epié

    Bonjour,
    A mon avis, votre problème vient de votre écriture de fichier.
    Vous utilisez un VI Express d'enregistrement sur fichier qui à chaque tour de boucle va ouvrir le fichier, écrire dedans puis le fermer. Ce VI n'a certainement pas le temps de suivre le rythme. On l'utilise en général pour un enregistrement ponctuel. Je vous conseil de regarder les exemples situés dans Fondamentaux >> E/S sur fichiers pour créer un enregistrement de plus bas niveau. Globalement, vous ouvrez votre fichier à l'extérieur de votre boucle, vous écrivez dedans et vous fermez le fichier à la sortie de votre boucle.
    Je vous conseillerai également de placer un cadencement dans votre boucle, ça évitera de saturer votre processeur. Il vous suffira de placer une fonction "Attendre un multiple de ms" dans votre boucle et de mettre un cadencement correct (10ms par exemple).
    Vous pourriez également utiliser des files d'attentes pour séparer votre lecture et votre enregistrement. Vous pourriez ainsi lire à haute fréquence et par l'intermédiaire de la file d'attente, enregistrer toutes vos valeurs. Pour cela je vous conseil l'exemple "Principe de base des files d'attentes".
    En mettant ainsi en oeuvre votre programme, vous devriez récupérer toutes vos valeurs.
    Cordialement,
    Mathieu P. | Certified LabVIEW Associate Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Journées techniques : des fondamentaux aux dernières technologies pour la mesure et le contrôle/comm...

  • Problem removing Objects from the stage in Flash CS4 (AS3.0)

    I have a problem with this code:
    this.addEventListener(Event.ENTER_FRAME, vanish);
    function vanish(event:Event):void{
         if(character_mc.hitTestObject(vanish_mc)){
              vanish_mc.parent.removeChild(vanish_mc);
    There are two overlapping objects on my stage: character_mc and vanish_mc.
    As soon as i start the scene[Ctrl+Enter] vanish_mc is VISUALLY removed. But the code still sees a collision somehow. How can i Entirely remove the object vanish_mc?
    Thank you for help and advice.

    Ah I think the problem is what my problem not which I proposed, my bad I was trying to keep it simple.
    the remove code in my problem actually looks like this:
    if(character_mc.hitTestObject(this["dollar_mc_"+String(i)])){
         removeChild(this["dollar_mc_"+String(i)]);
    I wanted it to be that way so I could add infinite "dollar_mc_" ' s without writing myself to death with code and or getting confused.
    Imagine it like a game where a character it picking up dollars, which would disappear once they intersect.
    And that exactly is what gives me that argument.
    Do you know a way i could write this code, or do you suggest to leave it that way...because it does run and work im just getting this argument while debugging.
    Thank you for all the help~

  • Je ne trouve pas où je peux changer la langue pour français

    Bonjour,
    Je viens de m'acheter un Samsung Tab Pro Android.
    J'aimerais savoir où je peux trouver l'endroit pour changer la langue d'affichage en français pour poser des questions à la communauté Firefox. Mon navigateur est Firefox.
    Je ne crois pas avoir réussi à m'enregistrer alors j'inscris mon courriel:
    [removed email Ed.]
    Merci
    Edo

    Salut Edo. Voici la page FR du support Firefox: https://support.mozilla.org/fr/
    Bien que l'interface passe en français via cette adresse, je pense que les questions font partie d'un pool commun, international. Sent toi libre d'utiliser ta langue natale si tu ne te sens pas à l'aise en anglais.
    Fais attention lorsque tu dévoiles ton adresse eMail sur le net, car des programmes spécialisés sont conçu pour les les aspirer automatiquement et t'ajouter ensuite sur une liste d'adresse à spammer de courrier indésirable.

  • Changer la langue d'utilisation du logiciel + fichier ASC

    Bonjour,
    J'ai 2 soucis avec le logiciel dasylab 9.0.
    1. Il a été installé en allemand par mon prédécesseur. Le CD d'installation étant cassé et ne connaissant pas l'allemand, comment pouvez vous m'aiguiller pour changer la langue d'utilisation ?
    2. Lorsque j'utilise le logiciel, je ne peux les enregistrer en fichier.DSB. Je souhaite les récupérer en fichier.ASC pour pouvoir récupérer les courbes de températures sur excell. Comment enregistrer les données en ASC ?
    Merci pour votre aide
    Salfal

    pour la langue je crois qu'il faut désintaller et ré-installer, c'est long et pénible mais je ne vois pas d'autre solution. pour ré-installer en français, je crois qu'il est possible de télécharger un installeur depuis le site NI, sinon il faut contacter NI et leur demander d'envoyer un CD, à conditions bien entendu d'avoir une license valide.
    pour le type de fichier, je ne sais pas, je n'utilise pas ce logiciel.
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • Flash CS4 crashes in Mac OS X 10.6.2

    Flash CS4 began crashing immediately after upgrading to 10.6.2 on my Mac Pro with 8 GB of memory.
    I can open my Flash CS4 (v. 10.0.2.566) app, but when I then try to open any .fla it crashes about 2 seconds after the file finishes opening.
    This occurs whether I open an existing .fla or if I create a new .fla.
    Flash was giving me no significant problems with Mac OS X v. 10.6.1.
    None of the following attempts to fix the problem has worked:
    First, I dumped my Flash preference files and restarted the app.
    Then, I restarted in single user mode and ran a file system check (/sbin/fsck -fy) which found no problems.
    Then I uninstalled and reinstalled Flash CS4 (three times).
    Then I upgraded Flash 10.0 back up to v. 10.0.2
    Then I ran the Mac OS X 10.6.2 update (Combo) based on a posting I saw on the Apple support forum.
    My next step is to reinstall Snow Leopard in the hopes that the earlier OS version will work.
    Cross your fingers for me.
    Does anyone have any other ideas?

    There are several ways to temporarily or permanently disable fonts.
    A very simple way is to restart your Mac in Safe Boot mode. Hold the shift key down as your Mac starts up. Among other things, this disables all but the system fonts.
    Read more about that here: http://support.apple.com/kb/HT1564
    You can also open the Font Book app and selectively disable fonts. Highlight the fonts you want to disable, and go to Edit > Disable...
    (This assumes you use Apple's Font Book and not some other font utility.)
    I suggest reading more about that here: http://support.apple.com/kb/HT2509
    You can disable groups of fonts at a time. Then open Flash to see if the problem persists. If it does, then the problem font is in that group. Activate a few fonts at a time, eventually finding the font or fonts that are causing the crash.
    You can also drag fonts out of the Fonts folder in your user's Library folder, but I suggest trying these other two methods first.
    Good luck.

  • Bonsoir, j'ai un probleme pour restaurer mon mac sous osx  10.8 la langue est en turc

    bonsoir, j'ai un probleme pour restaurer mon macbook pro sous osx  10.8.2 la langue est en turc

    Bonjour,
    OS 10.4 est obsolète.
    "la version la plus récente"
    Votre eMac ne peut pas aller plus haut que 10,5.8. et même 10.5 et qui est aussi vieille.
    La réalité est que vous avez du vieux matériel qui ne fonctionne plus avec les jouets d'Apple modernes comme ipad, iphone.
    Apple est seulement intéressé par l'nouvelle. Le passé n'est pas rentable.

  • Comment changer la langue pour une commande de calendrier: tout est en allemand et l'adresse se termine par un envoi en Allemagne...

    Je veux commander un calendrier à parir de mes photos sur Iphotos, cependant toutes les instructions apparaissent en allemand, le prix est en euros et le pays pour la livraison est déjà indiqué Deustchland alors que j'habite au Canada. Que puis-je faire pour modifier la langue? J'ai pourtant déjà commander d'autres calendriers et c'était en langue française.
    Merci de m'aider
    DB

    Bonjour,
    Merci d'avoir posté sur le forum NI.
    Pouvez faire une capture d'écran de l'erreur obtenue?
    Vous avez aussi des exemples de communication TCP dans les exemples LabVIEW.
    Recherche d'exemples >> Réseau >> TCP et UDP
    Cordialement,
    Nicolas M.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Journées Techniques LabVIEW 2012 : du 27 septembre au 22 novembre
    2 sessions en parallèle : Débuter a...

  • Flash CS4 can't use arial-keeps changing to arial MT (font mappings - missing fonts)

    I am using Flash CS4 on Windows Server 2003 (i know it sounds strange, but there are reasons).
    I previously had Flash CS2, but ever since I installed CS4 my font mappings have been messed up. Any time I open a fla with any standard fonts (arial, tahoma, etc) it tells me the fonts are missing. When this happens with arial..I set the font mapping back to arial, and everything seems to work fine. Until I try to change a text field to arial. When I do this flash automatically changes it to arial MT. It will not let me use arial. This really isn't a problem until I am using a dynamic text field. Because dynamic text fields use system fonts, so when a user opens one of my swf's on their computer it looks for arial MT not arial. If they don't have arial MT (which most people don't) it changes the font to their system default (usually times new roman).
    The only work around I have found successful is to embed the fonts in the dynamic text field. I really don't want to do this as I am just wanting to use arial. I have search the ends of the internet and can't find anyone else with a similar problem.
    To sum it up...
    My flash cs4 font mappings are messed up. It won't let me use arial. Forces me to use arial MT.
    Any help would be greatly appreciated.
    Thanks in advance.

    Hi,
    I had an existing Flash website, opened CS4 received Arial font no good.  Looked up the solution. At Microsoft is said that the mappings were confused by the names used for arial, no problems download the patch.
    Next time still the error message PLUS now the fonts come up as a combination of symbols best described as rubbish.  I wanted arial, plain old no nonsense arial.
    Any tips to overcome the patch?
    Also had a crash like this one
    http://jobemakar.blogspot.com/2008/10/how-to-crash-flash-cs4-with-single.html
    He feels it is not a font problem but a stability issue.
    Thanks

  • Changer la langue d'un logiciel

    Bonjour,
    Je dois actuellement travailler sur des fichiers faisant référence à des noms d'effets en anglais (et donc incompatibles avec des noms français, et trop nombreux pour les changer un à un).
    Existe t-il une solution pour faire passer un logiciel en anglais (After Effect, Photoshop) quitte à réinstaller ?
    J'ai essayé de changer la langue dans les préférences du logiciel Creative Cloud, mais impossible le français est grisé et non modifiable.
    Merci de votre aide.
    Cordialement.

    Problème résolu.
    Pour ceux que ça intéresserait : Attendre la fin du chargement du logiciel CC, aller dans préférence, mettre la langue en Anglais (ou autre), & télécharger le logiciel souhaité.
    A fonctionné pour After Effects.
    Cordialement.
    P.S : En revanche si une option de changement de langage est disponible sans avoir à désintaller / réinstaller le logiciel, je suis prenneur.

  • How in Flash CS4 to change text words of .fla file from a website template?

    I have a website template in which I am trying to change the header text words and menu text words to customize the template. How do I do this in Flash CS4? Thanks!

    There are any number of ways these text elements might have been designed into the file.  So you pretty much have to search for things.  If you do not see the text that you want to change when you open the fla file, then you may need to either make some layers visible that are not (eyeball icon next to layer name) or you may need to look into the actionscript code to see if the text is being dynamically written when the file opens.  If you happened to receive any .as, .txt, or .xml files with the template, the text elements may also be defined in those files.
    Just so you know, and this is just an observation, it appears from experience in these forums that template designers tend to make templates so that you are more likely to hire them to update things than to be able to solve it yourself.

Maybe you are looking for