Dynamic text doesnt appear chinese word!!!!

dynamic text doesnt appear chinese word.
i have try to set to arial unicode but still cant.
Pls help.
THx

I change that line but is the same result....
If I have one event it look like this:
and if I fill all events look like this:
as you can see it doesnt align vertical....its the same alignment on the two images.... here is my code again...
var urlLDR:URLLoader=new URLLoader();
urlLDR.addEventListener(Event.COMPLETE,f);
urlLDR.load(new URLRequest("hallsXML.xml"));
function f(e:Event) {
    var xml:XML =new XML(urlLDR.data);
    TXThall.autoSize = "center";
    TXThall.text = "";
    for(var i:uint=0;i<xml.hall.length();i++){
        TXThall.appendText(xml.hall[i]+"\n");
TXThall.y= Math.floor((stage.stageHeight - TXThasll.textHeight) / 2);
My page size of the project is 768 * 1024 and the position & size of the dynamic text is X: 384.0    Y: 332.5  W: 664.0    H: 405.9...
I dont know if it helps that data....
Thanks for responding and I hope you can help me figure out this...

Similar Messages

  • Dynamic text not appears on swf export

    This was posted in the 'Getting Started' Forum, but no
    repsponses, so I am trying my luck here =)
    I am new to Captivate, so bear with me.
    I have created a Flash file that calls externally text to be
    loaded into a scrolling text field. This works fine as a standalone
    swf. When I import the swf into Captivate, I can see the dynamic
    text appear in the small preview pane of the import window, but NOT
    when I publish the Captivate movie. I have made sure to include the
    external txt files in the same directory.
    Any ideas on what I could be doing wrong?
    TIA,
    Deb

    Hi Deb
    I'm going to reply where your question was initially asked,
    so we can keep the forums a bit tidier. I'm also inserting a link
    here that will lead others to the initial post.
    Click
    here to view the thread where the question was initially asked.
    Cheers... Rick

  • Dynamic text doesnt load in container

    hey,
    like the headline says i have a problem wit a dynamic text which i load from a .php file
    Just in a container, if I load it on its own it works correctly
    example: www.borgball.at.tc (Gästebuch)
    www.borgball.at.tc/gaestebuch.swf
    its the same file both times.
    Structure: Main(root)-->container
    code:
    count = new LoadVars();
    this.onEnterFrame = function(){
        if(main.maxscroll > 1){
            main_balken._visible = true;
        }else{
            main_balken._visible = false;
    count.load("count_guestbook.txt?nocache="+new Date().getTime(), 0);
    count.onLoad = function(ok_1) {
        if (ok_1) {
            counter.text = this.zahlguestbook;
        } else {
            counter.text = "0";
    read = new LoadVars();
    //read.load("guestbook.txt?nocache="+new Date().getTime(), 0);
    read.load("auslesen.php?nocache="+new Date().getTime(), 0, "POST");
    read.onLoad = function(ok_2) {
        if (ok_2) {
            mainframe.htmlText = this.main;
        } else {
            mainframe.htmlText = "<b><br>Keine Einträge vorhanden!</b><br>Text konnte nicht geladen werden!";
    signal = 0;
    stop();

    this is the index.html page that i'm loading and it's not correct:
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Powered by FlashVillage.com</title>
    <style type="text/css">
    <!--
    * { margin:0; padding:0; }
    html { height:100%;}
    body {
    height: 100%;
    overflow:hidden;
    .Stil1 {color: #000000}
    -->
    </style>
    </head>
    <body>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="100%" height="100%" id="index" align="middle">
        <param name="allowScriptAccess" value="sameDomain" />
        <param name="movie" value="index.swf" />
        <param name="quality" value="high" />
        <param name="bgcolor" value="#000000" />
        <embed src="index.swf" quality="high" bgcolor="#000000" width="100%" height="100%" name="index" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
      </object>
    </body>
    </html>

  • Smartforms text doesnt appear next page

    hi all,
    I have an text which flows from the main window to subsequent pages. but while i execute on the print preview it shows 5 pages. but i am unable to scroll nor look for the next pages on the print preview.
    I have even used shift + f11 to go to the next page. but the contents are not displayed. How to look for the contents in the next page in the print preview?

    Hi,
    in print preview you just have to use the "Page Next" button.
    Fred

  • Dynamic text property

    i have a dynamic text box with the name 'prodName'
    in the actions layer I have set prodName.text = "something";
    prodName.textColor = 0x000000
    When I test it, the color code works fine, but the dynamic
    text doesnt. I have tried htmlText on and off. Tried embedding and
    not embedding. Cant figure out why this wont work. I have done this
    before, what am I missing this time?
    chers
    mm66

    Well it turns out it was the embedding after all. Turning off
    ALL embeded fonts fixes it. So what happens with end users who do
    not have the fonts? I recall seeing some posts about that now
    cheers for the replys
    mm66

  • Please help URGENT : Chinese handwriting doesn't seem to work on Lion OSX. the handwriting trackpad appears but anything i write in Chinese doesn't appear in word, chrome,..... HELP PLEASE

    please help URGENT : Chinese handwriting doesn't seem to work on Lion OSX. the handwriting trackpad appears but anything i write in Chinese doesn't appear in word, chrome,..... HELP PLEASE
    And in system prefs/language and text/input languages, simplified chinese and traditional chinese are ticked as usual with handwriting options on !!!!

    Please search the forum for "chinese" to find the many other earlier posts about your issue, like
    https://discussions.apple.com/message/15746805#15746805

  • Create a dynamic form where selected text boxes appears, based on options chosen in a drop-down box

    HELP!!! Can anyone please provide some guidance on how to create a dynamic form where selected text boxes appears, based on options chosen in a drop-down box.
    I have a form which – based on the department that's selected from a drop-down box – will have different form fields/text boxes, etc, made available.
    Is this possible in LiveCycle, if so, can you please provide the script/info - as needed.
    Thanks,

    In the preOpen event of the second dropdown list you put something like (in formCalc):
    if (dropdown1 == 1) then
    $.clearItems()
    $.setItems("Year, 2 Year,  3 Year")
    elseif (dropdown1 == 2) then
    $.clearItems()
    $.setItems("3 Year,  4 Year")
    endif

  • Printer doesnt appear in the print options window when printing from an application like word etc

    Ok  this topic is all over the help forums but I have a couple of different observations not previously covered and all remedies that have been posted and worked for most havent worked for me
    First of all the Printer used to work with USB or NET connection and then suddenly unexpectedly stopped working. I cant say with 100% conviction whether this was when the upgrade to windows 7 occured or not
    things I have tried:-
    I have used the hp install wizard
    I have a downloaded the windows 7 update. 
    I can ping the device
    I can print a test page.
    The icon appears in the device and printer window but with an exclamation mark.
    I have tried NET STOP SPOOLER / NET START SPOOLER.
    I can scan docuemnts OK
    here is the part that I believe appears to be different from the other case on the forum.
    If I open a word document and select print the printer preferences dialogue window opens but no printer is visible to select. When I select add printer it shows my network then double clicking this opens a window showing a printer icon but its a previous version?? so when I select it as a printer to add nothing happens and it still doesnt appear as a selectable printer in the printer preferences pop up window. So doesnt print any thing
    Im lost for any other ideas to try

    I had already tried this and it didnt work on your advice I repeated the process with same results it appears in devices list but with an exclamation mark but trouble shooter fails to find any problem
     I refer you to the things tried and status in my first post i.e. I can ping the IP, I can scan. So my thoughts are now it must be something on my PC side that is the issue and not the printer or printer software.
    Could it be a security level issue that's the reason why  manual selection of add printer comes back access denied ??. Possibly  I need admin login. However I am the admin and single user of my PC anyway so I should have access.
    or some other PC setting why it doesnt see the printer in the printer settings when printing from an application ?

  • Acrobat 9.5 - use Touchup text Tool to edit PDF. Updates do not display. But, if I "save as" Word doc, the edits appear in Word. This feature worked in earlier versions of 9.x patches.

    Acrobat 9.5 - use Touchup text Tool to edit PDF. Updates do not display. But, if I "save as" Word doc, the edits appear in Word. This feature worked in earlier versions of 9.x patches.

    I have a suspicion you're working with a scanned document that has had OCR run to recognize the text. The recognized text may be stored on an invisible layer above the image of the text, and that is what you're toucing up. It's invisible, so you don't see it, but retains the changes, so exporting produces the new edits.
    When you run OCR to recognize scanned text,, try using the ClearScan option, instead of Searchable Text. See this help page on Acrobat (this is for version X, but still applies):
    Adobe Acrobat X Pro * Recognize Text - General Settings dialog box
    mh++

  • Can I put Chinese and English characters in the same dynamic text box?

    I'm translating a game into several different languages, one of which is Chinese. I've noticed that in a dynamic text box where English characters are included also, they aren't displayed when the .swf is exported. The font is embedded in the document with all characters selected. It seems like whatever language-character is first displayed in the text box, the other language cannot be. For instance, if there are Chinese characters first, then English, the English will not display, and vice-versa. Any work around on this? I am using Flash CS5 and Actionscript 2.0. Thanks!

    Kglad - I'm not sure I follow your instructions for the fix. I assume you want me to set the _visible property to false via Actionscript ( textInvisible._visible = false; ). What is the purpose of this second text field - does it need any specific content in it to function? It doesn't seem to work to fix the problem but maybe I'm misunderstanding.

  • On button rollover Dynamic text and Movieclip appear

    Hi guys,
    I've got an issue - When one of my buttons is rolled over, I want text and a movieclip to appear. When the button is no longer rolled over, I want the text and movieclip to disappear.
    The way that I was going to do this was to have anchor_mc as an anchor, and upon rollover have the movieclip play from inside the anchor (as its at the exact X & Y that its needed at) and dynamic text appear.
    Questions:
    1) How do I attach mc_textbox to mc_anchor --- OR, how do I set coordinate for just where mc_textbox should show?
    2) How do I then make the movieclip disappear if the button is no longer rolled over?
    3) Is it not possible for me to merge all of the dynamic text functions into one function, using IF statements? I tried this, but couldn't work it out.
    AS3 code is attached below.
    import flash.events.MouseEvent;
    stop();
    line1.addEventListener(MouseEvent.ROLL_OVER, line_in1, false, 0, true);
    line1.addEventListener(MouseEvent.ROLL_OUT, line_out, false, 0, true);
    line2.addEventListener(MouseEvent.ROLL_OVER, line_in2, false, 0, true);
    line2.addEventListener(MouseEvent.ROLL_OUT, line_out, false, 0, true);
    line3.addEventListener(MouseEvent.ROLL_OVER, line_in3, false, 0, true);
    line3.addEventListener(MouseEvent.ROLL_OUT, line_out, false, 0, true);
    line4.addEventListener(MouseEvent.ROLL_OVER, line_in4, false, 0, true);
    line4.addEventListener(MouseEvent.ROLL_OUT, line_out, false, 0, true);
    line5.addEventListener(MouseEvent.ROLL_OVER, line_in5, false, 0, true);
    line5.addEventListener(MouseEvent.ROLL_OUT, line_out, false, 0, true);
    line6.addEventListener(MouseEvent.ROLL_OVER, line_in6, false, 0, true);
    line6.addEventListener(MouseEvent.ROLL_OUT, line_out, false, 0, true);
    line7.addEventListener(MouseEvent.ROLL_OVER, line_in7, false, 0, true);
    line7.addEventListener(MouseEvent.ROLL_OUT, line_out, false, 0, true);
    line8.addEventListener(MouseEvent.ROLL_OVER, line_in8, false, 0, true);
    line8.addEventListener(MouseEvent.ROLL_OUT, line_out, false, 0, true);
    line9.addEventListener(MouseEvent.ROLL_OVER, line_in9, false, 0, true);
    line9.addEventListener(MouseEvent.ROLL_OUT, line_out, false, 0, true);
    function line_in1(e:MouseEvent):void
            line_output.text = "This is a test made by the MonkeyTest that has previously messed up\n        And testing a new line";
    function line_in2(e:MouseEvent):void
            line_output.text = "up messed previously has that MonkeyTest the by made test a is This";
    function line_in3(e:MouseEvent):void
            line_output.text = "This is a test made by the MonkeyTest that has previously messed up\n        And testing a new line";
    function line_in4(e:MouseEvent):void
            line_output.text = "up messed previously has that MonkeyTest the by made test a is This";
    function line_in5(e:MouseEvent):void
            line_output.text = "This is a test made by the MonkeyTest that has previously messed up\n        And testing a new line";
    function line_in6(e:MouseEvent):void
            line_output.text = "up messed previously has that MonkeyTest the by made test a is This";
    function line_in7(e:MouseEvent):void
            line_output.text = "This is a test made by the MonkeyTest that has previously messed up\n        And testing a new line";
    function line_in8(e:MouseEvent):void
            line_output.text = "up messed previously has that MonkeyTest the by made test a is This";
    function line_in9(e:MouseEvent):void
            line_output.text = "up messed previously has that MonkeyTest the by made test a is This";
    function line_out(e:MouseEvent):void
            line_output.text = "";
            var mc= new mc_empty(); addChild(mc);

    It isn't relly clear to me what you have versus what you want, so these answers may be equally unclear to you.
    1. One way to join them together is to maually place one inside the other while authoring the file.  Another way is to use addChild to add the text mc to the anchor...  mc_anchor.addChild(mc_textbox);  To control where the text mc appears you can set its x and y properties.using actionscript... mc_textbox.x = 0;
    2. To make the movieclip disappear you can set its visible property to false... mc_anchor.visible = false;
    3. You can probably reduce that code substantially, though it partly depends on what variations there are really going to be in the text that displays for each rollover.  For now, I'll assume the text will be entirely different for each...
    for(var i:uint=1; i<10; i++){
         this["line"+String(i)].addEventListener(MouseEvent.ROLL_OVER, line_in, false, 0, true);
         this["line"+String(i)].addEventListener(MouseEvent.ROLL_OUT, line_out, false, 0, true);
    function line_in(e:MouseEvent):void {
         var lineTarget:MovieClip = MovieClip(e:currentTarget);
          // could use a switch instead of the if's in series if you know what a switch is
         if(lineTarget == line1){
              // do things for line1
         } else if(lineTarget == line2){
              // do things for line2
         ) else if.... etc

  • UIScrollBar component dynamic text capital letter Y not appearing

    I'm using the UIScrollBar component, dynamic text is my setting.  When I view the swf or exe, all my text appears except for capital letter Y, it appears in flash, but not the swf or exe file.
    Any reason why this happens?
    Any help is appreciated.

    I finally found the answer but this scenario doesn't make
    sense. It seems you have to create a dynamic text field with a
    scrollbar during runtime through actionscript, rather then creating
    the text field and scrollbar in design mode. Here is the code that
    worked:
    import fl.controls.UIScrollBar;
    var myTxt:TextField = new TextField();
    myTxt.background = true;
    myTxt.backgroundColor = 0xFFFFFF;
    myTxt.border = true;
    myTxt.wordWrap = true;
    myTxt.width = 200;
    myTxt.height = 200;
    myTxt.x = 22;
    myTxt.y = 75;
    var mySb:UIScrollBar = new UIScrollBar();
    mySb.direction = "vertical";
    // Size it to match the text field.
    mySb.setSize(myTxt.width, myTxt.height);
    // Move it immediately right the text field.
    mySb.move(myTxt.x + myTxt.width, myTxt.y);
    // put them on the Stage
    addChild(myTxt);
    addChild(mySb);
    // load text
    var loader:URLLoader = new URLLoader();
    var request:URLRequest = new URLRequest("breakroomText.txt");
    loader.load(request);
    loader.addEventListener(Event.COMPLETE, loadcomplete);
    function loadcomplete(event:Event) {
    // move loaded text to text field
    myTxt.htmlText = loader.data;
    // Set myTxt as target for scroll bar.
    mySb.scrollTarget = myTxt;

  • Appearance of Static vs. Dynamic Text

    If you have the same font settings (i.e. Times New Roman, 18pt, regular, anti-aliased for readability), they look different visually when comparing static to dynamic text.  The static text is nice and smooth...easy to read.  The dynamic text looks like it is bolded and not quite as smooth...more difficult to read.
    Does anyone know why this happens and how I can get them to look the same.  I need the dynamic text in some situations because I need the text to be scrollable.
    Thanks.
    Dave

    If you're getting errors like -
    ORA-12514: TNS:listener does not currently know of service requested in connect
    And you're database has been started you can -
    'alter system register'
    and that will register the database with the listener.
    If you are trying to start up databases remotely you need to have a static entry (listener.ora entry) otherwise you will not be able to connect to the database and will get the above error. I've seen people connect remotely, shutdown the database, try startup and they are not able to. Good way to shoot yourself in the foot.

  • Controlling appearance of Dynamic Text

    Hi All,
    is it possible to stretch the font of dynamic text or make it more bold using actionscript 2?
    Thanks!
    Patrick

    Dear KGLAD -
    this is my code, but it says "var format:TextFormat = New TextFormat();"   is syntax error.
    onLoad
    var LCD:String;
    LCD="PLEASE HOLD MODE FOR > 1 SECOND TO SELECT";
    mc_LCD_text.LCD_text.text=LCD;
    var format:TextFormat = New TextFormat();
    format.color = 0x333333;
    format.font = "Helvetica";
    format.size = 14;
    format.bold = true
    LCD_text.setTextFormat( format );

  • Linking a class to a dynamic text field to load XML data.

    Hi,
    I'm quite new to ActionScript and would be grateful for any help here.
    I want to load text into a dynamic text field (called 'about_tab') using  a class depending on the language selected (by clicking on a flag icon)  by the user.
    I managed to get this to work when the ActionScript was written directly  in the timeline, but am having problems with doing the same thing via a  class.
    This is my class file:
    package
    import flash.display.SimpleButton;
    import flash.display.MovieClip;
    import flash.events.MouseEvent;
    import flash.net.URLRequest;
    import flash.net.URLLoader;
    import flash.events.Event;
    public class ChangeLang extends SimpleButton
    public function ChangeLang()
    addEventListener(MouseEvent.CLICK, switchLang);
    trace("ChangeLang class working");
    public function switchLang(event:MouseEvent):void
    var lang = event.target.name;
    var req:URLRequest = new  URLRequest("languages/"+lang+".xml");
    var loader:URLLoader = new URLLoader();
    var substance:XML;
    function xmlLoaded(event:Event):void
    trace("function xmlLoaded is running");
    substance = new XML(loader.data);
    about_tab.text =  substance.about_lbl;
    loader.addEventListener(Event.COMPLETE, xmlLoaded);
    loader.load(req);
    Here's one of my XML files (the other is the same except "About" is  written in German):
    <substance>
    <about_lbl>About</about_lbl>
    </substance>
    When I run it, it returns my trace statements that the class ChangeLang  and the function xmlLoaded are running, but no text appears in the  dynamic text field (I should/want to see the word 'About'). I get this  error message:
    1120: Access of undefined property about_tab
    The problem, I'm guessing, is in the part in red in my code. I think I need to target the text field in the display list by creating a  reference to it. If so, could someonw point out how I do this, or perhaps a tutorial that would help. I've tried adding the word stage (i.e.,stage.about_tab.text =  substance.about_lbl; ) but it still doesn't connect. I guess there's something really simple I'm missing, so I  apologize if this comes across as a stupid question
    Thanks for any help.

    Hello flashrocket!
    I'm also new to AS3 and I've just started using external classes and I think I know what you should do to put your code to work.
    Instead of using the text field you created inside your flash file, why don't you use the "TextField" class to create an instance of this object? It's the exact same thing as when you create and instantiate a new text field inside Flash.
    First, import flash.text.*; (includes classes like TextField, TextFieldAutoSize, TextFormat, TextFormatAlign, etc)
    Than you just have to create a var like
    public var about_tab : TextField;
    or
    public var about_tab : TextField = new TextField();
    then, to adjust the properties of this tab you use dotsyntax as if it where on your stage like:
    about_tab.x = 50; about_tab.alpha = .5; etc...
    you can even create a function to "config your textField"
              private function createAndConfigTextField() : void {
                   about_tab = new TextField(); //you only need this line if you
              // only typed something like "public var about_tab:TextField;
              // if instead you used "public var about_tab:TextField = new TextField(); outside
              // this function, just skip this first line because you already have an instance of
              // text field named "about_tab"...
                            about_tab.autoSize = TextFieldAutoSize.CENTER;
                   about_tab.background = true;
                   about_tab.border = true;
                   var aboutTextFormat : TextFormat = new TextFormat();
                   format.font = "Arial";
                   format.color = 0x000000;
                   format.size = 11;
                   format.bold = true;
                   format.align = TextFormatAlign.CENTER;
                   about_tab.defaultTextFormat = aboutTextFormat;
                   addChild(about_tab);
    This is just an example of what you can do... I hope you get it... let me know if you have any doubt...

Maybe you are looking for

  • Help with dynamic database

    I'm still stuck on learning database-driven development. I plan to take the Lynda.com free lessons... but until then, if anyone can help me, I'd be very appreciative: Here are today's questions: My manager (VP eng./sales/mktg) wants to know WHY I thi

  • PO in Held Status after SC got auto approval

    Hi All,   We have a strange requirement where   customer want  for couple of vendors SC to be created  for Zero value and auto approval. We are able to do it but after the SC get auto approved PO is going for Held status.We tried it to do it by ZRepo

  • Midi plays back or records in erratic pitch (note) after a few seconds

    It started using Logic 9 about a year plus ago.  I would record  a midi piece and it would play fine for a few measures and the transpose to a different key and play on that thereafter or maybe random for that matter.  The piece would not be recogniz

  • Unable to update Apple TV

    Got an Apple TV yesterday. Everything is working except that I am unable to update it. Keep getting the message that "Unable to download update". Anyone know what might be wrong?

  • No plugin settings folder for logic x!!! PLEASE HELP!

    I accidentally replaced logic x's plugins settings folder while configuring a midi controller. I know have no presets for logics plugins. I've tried reinstalling logic x however it did not work. Can anyone give me any advice on the matter.