How to update text or change the text in the TLF?

Hello

I can't update the text in a TLF. This should be pretty basic, but forget something.

It's the pseudocode:

pg_xml = new XML(str);
textFlow = TextConverter.importToFlow(pg_xml, TextConverter.TEXT_LAYOUT_FORMAT);
var tlf_sp = new Sprite();
textFlow.flowComposer.addController(new ContainerController(tlf_sp, width, height));
tlf_sp.x = posx;
tlf_sp.y = posy;
textFlow.flowComposer.updateAllControllers();
addChild(tlf_sp);

Elsewhere, the text should be updated:

pg_xml = new XML(str);
textFlow = TextConverter.importToFlow(pg_xml, TextConverter.TEXT_LAYOUT_FORMAT);
//TODO: figure out how to update text! updateAllControllers doesn't work.
//textFlow.flowComposer.compose(); //-- Didn't work.
//textFlow.flowComposer.updateAllContainers(); //-- Though this couldn't be used, I was just trying out, but didn't work either.
textFlow.flowComposer.updateAllControllers();

Version TLF: 4.0.0.13895

I just need to update the content of a TLF, rather than recreating a new textflow. Any help will be much appreciated.

Kind regards

Sabine

If you are importing, the import process always produces a new TextFlow. You cannot import into an existing TextFlow.

Gordon Smith

Adobe Flex SDK team

Tags: Adobe Open Source

Similar Questions

  • Can someone tell me how do you remove or change the name of a library on the opening?

    Can someone tell me how do you remove or change the name of a library on the opening?

    You remove an Aperture library by selecting it in the Finder and delete it like any other file.

    To rename an opening, library, use the Finder-click on the name of the library and enter a differnet name.  You can also select the library in the Finder, then enter the ⌘I key combination to open the information panel. Then change the name in the Info Panel.

  • How is it possible to change the 1 tab to Page 2 and page 3 page, etc. by using a Boolean control?

    Hi Sir,

    I created a 4-page tab control. How is it possible to change the 1 tab to Page 2 and page 3 page, etc. by using a Boolean control?

    Thank you vey much Mr. It worked

  • Hello! How is it possible to change the subscription to another product?

    Hello! How is it possible to change the subscription to another product?

    Cancel what you have and buy new

    You need to contact Adobe to do this, or you may have to pay a penalty of cancellation

    This is an open forum, not Adobe support... Click below to contact Adobe staff for help

    While the forums are open 24/7 you can't contact Adobe support at any time

    Chat support: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">

    Don't forget to stay signed with your Adobe ID before accessing the link below

    Creative cloud support (all creative cloud customer service problems)

    http://helpx.Adobe.com/x-productkb/global/service-CCM.html

  • How to use JavaScript to change the named view

    How to use JavaScript to change the named view

    Do you mean to jump to a specific Destination named within a PDF file? SE so there

    the method gotoNamedDest of the Document object.

  • How can I add or change the network I had for the TouchPad?

    Most of the devices on a network have names for the device for one reason or another. This allows to distinguish between connected devices and the legitimacy of it.

    So far, I was unable to add a network ID to this TouchPad.

    With the Amazon Kindle fire had seen the network ID as 'My Phone' that I really want to change, and fast. Haven't managed to change with an Android app called Fing, which enabled me to use an unorthodox network identification name.

    I would like to find another network utility which can do the same for the HP TouchPad. Any ideas about a utility or more manual method? FING via Kindle fire shows no network for my TouchPad ID.

    Hello Xelkos,

    What you're talking about is actually a function of DHCP. If you request an IP address, a client can send a hostname on the server so that it can be easily identified in a readable way.

    By default, this is disabled on the TouchPad. To enable it, you'll need to edit a text file on the device. There are many different ways to do this, so pick your favorite and follow these insturctions.

    1. Find /etc/dhclient.conf and open
    2. Find the line that begins with:
      # send-hostname
      
    3. Delete the "#" sign in the front of the line and change the text inside the quotation marks. This text should be what you want as your host name to be:
      send-hostname "TouchPad"
      
    4. Once you have finished, save and close the file
    5. Turn Wi - Fi off and then turn it back on. You should now see your name appear on your Access Point / router.

    NOTE: Do not forget that in order to make these changes permanent, you must set the file read-write system:

    mount -o remount,rw /
    

    You must also set this back to read-only when you are finished:

    mount -o remount,ro /
    
  • How to update or insert for the fa_distribution_history table?

    I need to change the location of an asset code when it changes its physical location. I looked in the tables and this change of assignment / location change updates and inserts a record in the fa_distribution_history table. I looked at a few documents, and there is a package called fa_distribution_history_pkg with the Update and Insert methods.
    The question I have is changing the assignment, that I have to update the record of the old assignment and then create one with the new assignment?
    Please let me know how I should proceed.
    Thank you.

    Hello.

    You should not use the package "fa_distribution_history_pkg" directly from your custom code.

    The ideal way is to use the public APIs provided by Oracle. In this case, you should use is FA_TRANSFER_PUB.do_transfer.

    Please try this one and advise if you are having trouble.

    See you soon
    JD

  • How can I do to change the site when I open a new tab.

    Dear friends...
    I can't find information, how to change the site when I opened a second tab. Example: when I open Firefox my google home page and it's perfect, but when I opened a second tab, appears why yahoo as homepage? I want to change it and I can not find how do. Thank you

    The normal behavior is to open a blank tab, an add-on will be originally to show Yahoo. An add-on which has net gel assistant, if you have one you can uninstall it and it should go back to the opening of a blank tab.

    There are modules that allow you to specify what should open in a new tab, such as:

    Another way to open the home page in a new tab is in the Middle, click the home button in the navigation toolbar.

  • I lost my BIOS password, how can I recover or change the password. I am running vista Home premium 64-bit

    I lost my password to access the bios and set up the screen. How to retrieve or change the password. I am running vista Home premium 64-bit.

    original title: I lost my password

    I lost my password to access the bios and set up the screen. How to retrieve or change the password. I am running vista Home premium 64-bit.

    Buna,

    We are forbidden to help you with the lost BIOS passwords. Contact the manufacturer.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-security/keeping-passwords-secure-Microsoft-policy-on/a5839e41-b80e-48c9-9d46-414bc8a8d9d4

    About questions about hardware BIOS password reset, we ask that you direct customers to the appropriate resources on the sites of manufacturers of equipment for the correct procedure.

    Please help us to ensure the safety of our community.

    Lisa
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

    The Revedere

  • How can blackBerry smartphones, I change the sound signal in BBM

    I just got a 8520 only native of the United Kingdom.  I can't understand how to change the sound signal for BBM.  My daughter has the same phone, but the menus are different from mine.  Can someone guide me through this process?

    Drop down menu using the speaker on your homescreen icon and choose "Set Ring Tones/alerts. Inside the new screen, you should see a repeating field, called "Instant Messages". Expand it and you will have access to options for Blackberry Messenger. There must be 3 total.

    Selecting one of the three will allow you to customize the BBM options. I suggest you change all three for the same parameters.

  • How many times if you change the printheads to printer large format?

    We have a HP Z5200PS (large format printer) on my place of work. I was wondering how many times we should replace the print heads? Or, rather, how often usually takes to replace? It will prompt you or if you change them as part of a regular maintenance?

    Thanks for your comments!

    Hi OatesC,

    The Designjet is a commercial product.   I'm linking you to the forums your question Designjet repost for better coverage.

    Designjet Forums

  • update has not changed the screen of boot etc. ?

    Hello:

    I have two laptops that I downloaded the CC to and we got Windows 7, other Windows 8.

    I installed the most recent CC on my laptop to W8 a few months earlier and noticed that splash screens are different for ch & here than on my older laptop Win 7.

    I also noticed there are new things in Ps on my newer computer as the ability to sync preferences, more fonts and the Properties Panel has some new interesting features, but no matter how many updates coming to Ps on my old computer to Windows 7 there no new features.

    Anyone know what is happening? should I uninstall ch & AI to get these cool new features on my old computer too? If so, don't was not I lose all my plugins, styles, custom shapes etc etc?

    If anyone else has noticed this?

    I would really like the latest on my new pc.

    Thanks for your help!

    You have Photoshop CC (14) on a computer and Photoshop CS6 (13) on the other.

    Creative cloud allows you to install both, but older versions of OS can only support Photoshop CS6.

  • How to allow visitors to change the background image of my site?

    Hello.

    I wanted that my visitors to be able to change the background image to another image. Already, I know how to do it with the colors but doesn't seem to work wih images. You are able to do this on Google, but can not seem to find it anywhere online. I just want it to change while the visitor is on the site. for example

    1 visitor - context changes to-myarea.jpg

    2 visitor - context changes to-my cat.jpg

    and so on...

    This would not change the site forever, just at the point where the visitor is about it.

    Concerning

    Leon

    Here are a few ways to do this:

    Option #1:

    You'll need a JavaScript script and an array on the page background images.

    An example of work below.  View source in the browser to see the code.

    http://ALT-Web.com/BG-img.html

    Option #2:

    Create more than one style sheet with different colors and background - images of the body.

    Create a selector of stylesheet like this with jQuery

    http://www.kelvinluck.com/assets/jQuery/styleswitch/toggle.html

    Nancy O.

    ALT-Web Design & Publishing

    Web | Graphics | Print | Media specialists

    http://ALT-Web.com/

    http://Twitter.com/ALTWEB

  • How to use OMB to change the filter conditions in OWB maps

    Hello
    I want to know how we can use the OMB to change the filter conditions in an OWB map.

    In my scenario, I have a filter FLTR_1 operator in my cards and I need to change the filter condition of


    INOUTGRP1.ID IN (1,2)
    AND
    INOUTGRP1. VALUE > CONST_0_MAX_VAL

    TO

    INOUTGRP1.ID IN (1,2)
    AND
    INOUTGRP1. VALUE > CONST_6_MAX_VAL


    Just for more information for everyone we are migrating from OWB 9.2 10.2 OWB and we called constant procedures and used their values in filter conditions. 10.2 OWB generates the values for the constants in a way different than OWB 9.2 which is why this change is necessary. I want to automate the Act of changing the names of constants so that we can save time to change maps.

    THX

    Hello

    change in the framework of your database module, then try

    OMBALTER MAPPING 'MY_MAP' MODIFY OPEARTOR 'FLTR_1' SET PROPERTIES (FILTER_CONDITION) VALUES ('INOUTGRP1.ID IN (1,2) AND INOUTGRP1.VALUE > CONST_6_MAX_VAL ')
    

    Kind regards
    Carsten.

  • How is it, I can change the font color in my status bar? Is white on gray background.

    Given that I spend a few days in 3.6, I realized that I can hardly see my statusbar on FF. There is no way in options where I can change this. Can you please advise as soon as possible. Thank you

    You may have installed a character that is not working properly.

    You can uninstall your current Persona and go back to the default theme (Tools > Modules > themes).

    See

Maybe you are looking for

  • Win 7 64 bit driver for HP LaserJet 1022

    Cannot find a driver for HP LaserJet 1022 (not connected to the network, directly connected) printer.  The one on the HP site does not work.  It is a facility of Win7 64 bit perfectly up-to-date. Thank you very much for any help you can give!

  • SanDisk Extreme Plus 64 GB Micro SD XC1 class 10

    I try to install my new extreme Plus Micro SD XC1 64 GB 500 x 10 class in my GPS Garmin Monterra. (Android) It is not reading the card... Any suggetions...?

  • Resizing of the pictures as wallpaper

    When you try to use a photo from my files for wallpaper, images cannot be reduced or cropped in the way or the size I want. How do you change your photos so that you get the part of the photo you want to wallpaper without the false image? I followed

  • XPS 435 t/9000 Max size of the hard drive?

    Hello I have a XPS 435 t/9000. I currently have two, 1 to SATA HDD and need for additional storage space. There is a 3rd available Bay, a connector available on the motherboard and the power available. Reference Dell tells me the motherboard is a Mic

  • usage rights have been corrupted

    Hi can you please help. I had my motherboard & also Ram updated I running Windows 7 Ultimate 64 bit Since I update (by a computer expert) not me When I try and play a movie via a windows media player 12 I get a message usage rights have been corrupte