a below anther texlayout

Hello
I need to put two textlayout with dynamic text under the anther, how do I know what there to give to the last?
(I think I need a way to calclate the height of the first textlayout after you insert dynamic text...) (je ne peux pas le faire dans un textlayout, cause je veux une case d'option pour être exactement près la deuxième textlayout))

The best way to proceed is to use Flex. There are a set of text items that come with Gumbo that will make much of this logic for you. Flex is open source, and I think that there are links to it in the FAQ.

But if you have your own reasons of coding it yourself, here are some tips.

After posting the text, you can get the contentHeight go controller container. Here is an example of what this might look like, given a textFlow:

var currentPosition:Number = 0;
var controller: DisplayObjectContainerController = new DisplayObjectContainerController (sprite, width, NaN);
textFlow.flowComposer.addController (controller);
textFlow.flowComposer.updateAllContainers ();
Controller.Container.y = currentPosition;
currentPosition += controller.contentHeight + verticalGap.

Basically, you set the cruise control, sizing to fit all the text. Then ask him what text actually holds, and then you will know where to place the following container.

Hope this helps,

-robin

Tags: Adobe Open Source

Similar Questions

  • I can't reset the security questions. We received notice as below:

    Hello world

    I can't reset the security questions. We received notice as below:

    "Cannot reset Security Questions."

    We have insufficient information to reset your security questions. "

    Please help me as soon as possible! Thank you very much.

    Hello

    You will need to contact the Apple Support.

    The information is available here:

    Contact Apple for assistance with the security of the Apple ID - Apple Support accounts

    (I'm afraid that no one here can solve the problem for you - this is a user-based community).

  • Below the average, EtreCheck attached

    I might have got a little too aggressive in trying to get rid of a

    a few extensions, such as Little Snitch and old Adobe software plug-ins.

    I was in the 'Good' performance before, now I'm at "Below average".

    Any suggestions are greatly appreciated.  Thank you

    Corey.

    EtreCheck version: 3.0.3 (307)

    Report generated 2016-09-09 10:42:35

    Download EtreCheck from https://etrecheck.com

    Time 05:04

    Performance: Below average

    Click the [Support] links to help with non-Apple products.

    Click [details] for more information on this line.

    Problem: No problem - just check

    Hardware Information:

    iMac (21.5 inch, at the end of 2012)

    [Data sheet] - [User Guide] - [warranty & Service]

    iMac - model: iMac13, 1

    1 3.1 GHz Intel Core i7 CPU: 4 strands

    16 GB expandable RAM - [Instructions]

    BANK 0/DIMM0

    OK 8 GB DDR3 1600 MHz

    BANK 1/DIMM0

    OK 8 GB DDR3 1600 MHz

    Bluetooth: Good - transfer/Airdrop2 taken in charge

    Wireless: en1: 802.11 a/b/g/n

    Video information:

    NVIDIA GeForce GT 650M - VRAM: 512 MB

    iMac, 1920 x 1080

    Software:

    OS X El Capitan 10.11.6 (15-1004) - since startup time: less than an hour

    Disc information:

    HTS541010A9E662 disk HARD APPLE disk0: (1 TB) (rotation)

    EFI (disk0s1) < not mounted >: 210 MB

    iMac (disk0s2) /: 999,35 (Go 191,05 free)

    Recovery HD (disk0s3) < not mounted > [recovery]: 650 MB

    ST1000LM024 HN-M101MBB disk1: (1 TB) (rotation)

    disk1s1 (disk1s1) < not mounted >: 32 KB

    Backup (disk1s3) / Volumes/Backup: 1.00 TB (53,68 GB free)

    USB information:

    Hub keyboard Apple, Inc.

    Apple Inc. Apple Keyboard

    Apple Inc. FaceTime HD camera (built-in)

    Apple Inc. BRCM20702 hub.

    Apple Inc. Bluetooth USB host controller.

    Tablet PTZ-930

    Lightning information:

    Apple Inc. Thunderbolt_bus.

    INC. OF BUFFALO HD-PATU3

    Guardian:

    Mac App Store and identified developers

    Kernel extensions:

    / Library/Extensions

    com.Wacom.kext.FTDI [no charge] (1.0 - SDK 10.10 - 2016-09-02) [Support]

    / System/Library/Extensions

    at.obdev.nke.LittleSnitch [no charge] (3.0.3 - SDK 10.8 - 2016-09-09) [Support]

    com.Wacom.kext.wacomtablet [no charge] (Tablet Wacom 6.3.11 - 3 - SDK 10.10 - 2016-09-09) [Support]

    Launch system officers:

    [no charge] 8 tasks of Apple

    [loading] 158 jobs Apple

    [running] Apple 72 jobs

    Launch system demons:

    [no charge] 42 tasks of Apple

    [loading] Apple 160 jobs

    tasks of Apple 89 [running]

    Launch officers:

    [loaded] com.adobe.AAM.Updater - 1.0.plist (2016-08-30) [Support]

    [cannot] com.adobe.ARMDCHelper.cc24aef4a1b90ed56a725c38014c95072f92651fb65e1bf9c8e43c37a2 3d420d.plist (2016-07-13) [Support]

    com.adobe.AdobeCreativeCloud.plist [running] (2016-06-24) [Support]

    com.Wacom.wacomtablet.plist [running] (2015-08-25) [Support]

    Launch demons:

    [loading] com.adobe.ARMDC.Communicator.plist (2016-07-13) [Support]

    [loading] com.adobe.ARMDC.SMJobBlessHelper.plist (2016-07-13) [Support]

    com.Adobe.adobeupdatedaemon.plist [running] (2016-08-30) [Support]

    com.Adobe.agsservice.plist [running] (2016-08-15) [Support]

    [loading] com.adobe.fpsaud.plist (2016-06-28) [Support]

    [loading] com.barebones.authd.plist (2016-08-23) [Support]

    [loaded] com.barebones.TextWrangler.plist (2011-02-09) [Support]

    [loading] com.insynchq.insync.daemon.plist (2016-08-24) [Support]

    [loaded] com.oracle.java.Helper - Tool.plist [Support]

    com.rogueamoeba.Hermes.plist [loading] (2008-01-09) [Support]

    User launch officers:

    [loading] com.adobe.AAM.Updater - 1.0.plist (2016-07-21) [Support]

    [loading] com.google.keystone.agent.plist (2016-08-20) [Support]

    Items in user login:

    iTunesHelper hidden Application (/ Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)

    Hidden Dropbox application (/ Applications/Dropbox.app)

    Hidden AdobeResourceSynchronizer Application (/ Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro.app/Contents/Support/AdobeResourceSynchronizer.app)

    Hidden Google Drive application (/ Applications/Google Drive.app)

    Plug-ins Internet:

    AdobeAAMDetect: 3.0.0.0 - SDK 10.9 (2016-08-30) [Support]

    FlashPlayer - 10.6: 22.0.0.209 - SDK 10.9 (2016-08-16) [Support]

    Default browser: 601 - SDK 10.11 (2016-07-19)

    AdobePDFViewerNPAPI: 15.007.20033 - SDK 10.8 (2015-03-17) [Support]

    AdobePDFViewer: 15.007.20033 - SDK 10.8 (2015-03-17) [Support]

    Flash Player: 22.0.0.209 - SDK 10.9 (2016-08-16) [Support]

    WacomTabletPlugin: WacomTabletPlugin 2.1.0.6 - SDK 10.9 (2015-08-25) [Support]

    User Plug-ins internet:

    fbplugin_1_0_3: unknown (2010-02-25) [Support]

    Picasa: 1.0 (2010-04-09) [Support]

    Safari extensions:

    AdBlock - BetaFish, Inc. - https://getadblock.com (2016-05-22)

    3rd party preference panes:

    Flash Player (2016-06-28) [Support]

    WacomTablet (2015-08-25) [Support]

    Time Machine:

    Automatic backup: YES

    Volumes to back up:

    iMac: disc size: 999,35 GB disc used: 808,29 GB

    Destinations:

    Backup [Local]

    Total size: 1.00 TB

    Total number of backups: 46

    An older backup: 27/06/16, 07:20

    Last backup: 09/09/16, 10:14

    Backup disk size: too small

    Backup TB 1.00 size < (disc 808,29 GB X 3)

    Top of page process CPU:

    7% kernel_task

    2% SDM

    2% WindowServer

    1% mdworker (6)

    0% mds_stores

    Top of page process of memory:

    906 MB kernel_task

    459 MB softwareupdated

    Safari of 360 MB

    180 MB Dropbox

    164 MB Google Reader

    Virtual memory information:

    10.00 GB of free RAM

    5,60 used GB RAM (2.81 GB being cached)

    Used Swap 0 B

    Diagnostic information:

    Sep 9, 2016, 10:33:48 AM/Library/Logs/DiagnosticReports/WacomTabletDriver_2016-09-09-103348_ [redacted]. Crash

    / Library/Application Support/Tablet/WacomTabletDriver.app/Contents/MacOS/WacomTabletDriver

    Sep 9, 2016, 10:30:17 test - passed

    Sep 9, 2016, 09:02:43 AM/Library/Logs/DiagnosticReports/M3 data Recovery_2016-09-09-090243_ [redacted] .hang

    / Applications/M3 Data Recovery.app/Contents/MacOS/M3 Data Recovery.app/Contents/MacOS/M3 data recovery

    I see something that will significantly reduce your performance: the connection points. Click on System Preferences > users and groups > login items and take a look at this list. The drop box starts up with the computer, as is Google Drive. These are the memory and CPU hog. In fact, outside the iTunes Helper, this entire list is probably to have an effect on the performance of the system.

    Try this: highlight each item, and then select the sign less down the list to remove. Restart the computer and run the EtreCheck again. I am betting, you will see a big improvement.

    You can add items one by one to determine which ones really is you get bogged down backwards.

  • SUMIF line is equal to the value of test and the line below is '-'

    Hello

    I have a spreadsheet numbers where a column has a list of names that are mixed with rehearsals and another column that has a value of profits to this name list.

    Now, I want to determine the total profits from each of the names so I can see the total profit by name.

    That part is easy, I just a SUMIF function that checks if the name corresponds to a specific name, and then adds the benefit altogether.

    The problem I have is that in the names column, sometimes I'll have a name and then the next rows are just '-' indicating that they are of the same name. The SUMIF function that I use does not takes into account these values because they obviously do not match the name of the interest.

    So my question is: is it possible to create a function that will check for a matching name and then if the next line '-', then add this value to the total as well. It has to work with several rows of '-' after the name.

    The screenshot below is an example of what I mean because I realize that it does not have much sense.

    So in this case, the total of Jess profit would be = 5 + 35 + 15 + 5 + 15 = 75

    and the benefit of Gill = 30 + 30 + 20 + 40 = 120

    I hope I did it is clear enough. Thank you in advance!

    Oscar

    Hi Oscar,.

    Although it is possible to do, it will be a little clumsy, involving additional columns. It would be much easier to stop using the "-" and use the actual names instead. Order the popup format to create a list that makes it easy to list the names.

    Quinn

  • my e-mail messages now all the data the path below the shipping date. The path data also appears when I send a message. How to disable this option?

    Here's what I see below the date. This problem just started a few days ago. I must have turned on something in my settings but I've searched and can't find what it is.

    Message transferred-

    From: 57 2015 <>
    X key account: account 1
    X-UIDL: 11e5-690d-7a459b6a-9997-002128145bba
    X-Mozilla-Status: 0000
    X-Mozilla-Status2: 00000000
    X-Mozilla-keys:
    Status: U
    Return-Path: < [email protected] >
    Received: from carlin.mail.atl.earthlink.net ([207.69.200.104]) by mdl - gnash.atl.sa.earthlink .net (of EarthLink SMTP server) with SMTP id 1zI0PI6Hs3Nl3710; Friday, October 2, 2015 09:57:10-0400 (EDT)
    Received: from boell.org ([62.96.251.171]) by carlin.mail.atl.earthlink.net (SMTP of EarthLink server) with ESMTP id 1zI0PF4wg3Nl3q80 for < [email protected] >; Friday, October 2, 2015 09:57:08-0400 (EDT)
    Received: from gate_dom-MTA by boell.org with Novell_GroupWise; Friday October 2, 2015 15:57:07 + 0200
    Message-Id: < [email protected] >
    X-Mailer: Novell GroupWise Internet Agent 14.0.1
    Date: Friday 2 October 2015 15:56:41 + 0200
    From: < [email protected] > Nelson Mackenzie
    To: [email protected]
    Subject: Re: update/invitation
    References: < [email protected] > < [email protected] >
    In-Reply-To: < [email protected] >
    MIME-Version: 1.0
    Content-Type: multipart/mixed; Boundary = 'is __PartB483E109.0__ is'
    X ELNK-receipt-Info: spv = 0;
    X-authentication-results: dkim = "failed"; (2:no or failed processing dkim); dMarc = "none"; (1) ; DWL = 'miss '; den = "not exempt".
    ELNK-AV: 0 X
    X ELNK-Info: sbv = 0; sbrc =. 0; SBF = bb; SBW = 000;

    You can see the full headers.

    You can change this option to view only the data OF WORMS regular Date topic.
    'View' > 'Headers' > 'Normal '.

  • Winner 8,1/firefox there are tabs above and below windows. In Win 10/firefox, there is now windows below for switching windows - how can you do that now?

    n Win 8.1/firefox it were the tabs above and below windows.
    Win 10/firefox, there is now NO windows below for switching windows.
    How to you switch windows (tab groups) now?
    Windows Firefox 39.03 10

    On the first program that I started after the launch 10 new windows, I can't do what I have been doing it for years and I can not understand.

    I hate the changes of major operating system.

    plugins installed

    • Adobe PDF plugin for Firefox and Netscape 15.8.20082
    • Garmin Communicator plugin 4.1.0.0
    • GEPlugin
    • Google update
    • HPDetect
    • Deploy Script NPRuntime plugin Library for Java (TM)
    • Next-generation Java plug-in 11.40.2 for Mozilla browsers
    • Plugin to detect Nero Kwik Media.
    • Nitro PDF plugin for Firefox and Chrome
    • Shockwave Flash 18.0 r0
    • VLC Web Plugin 2.1.3 media player
    • Detector of presence of WildTangent Games App V2
    • NPWLPG

    Is the problem that the Windows task bar is hidden by the Firefox window, or that changes to the taskbar make it impossible to change the windows?

    If the taskbar are hidden by Firefox, it is possible that Firefox is in full screen mode. The F11 key toggles between full screen and normal views.

    Another potential problem is that Firefox sometimes seems to collect data of erroneous screen size of the operating system and that the window of Firefox too large. You can rename the relevant settings file to see if that helps.

    Open the settings folder (AKA Firefox profile) current Firefox help

    • button "3-bar" menu > "?" button > troubleshooting information
    • (menu bar) Help > troubleshooting information
    • type or paste everything: in the address bar and press Enter

    In the first table of the page, click on the view file"" button. This should launch a new window that lists the various files and folders in Windows Explorer.

    Leave this window open, switch back to Firefox and output, either:

    • "3-bar" menu button > button "power".
    • (menu bar) File > Exit

    Pause while Firefox finishing its cleanup, then rename xulstore.json to something like xulstore.old. If you see a file named localstore.rdf, rename this to localstore.old.

    Launch Firefox back up again. Windows normally appear again?

    To restore the missing bars, you can use one of the following methods to view the list of the toolbar, and then select the desired bars it:

    To activate the menu bar, toolbar bookmarks or other bars, click it in the list.

  • New tab page as a tab (with the plus sign next to the tabs) open rather than below as a button to open a new page in the tab?

    Alrighty, the Firefox on my laptop (und such that she has always been with Firefox for me) has the "Open a new tab" button as a tab himself. Always to the right of the tabs I have open und is smaller with only one more sign on this subject. (+) I hit that, bam, a new tab page opens upward, always with the + page to the right to open another tab, if I want to.

    Yet, on the desktop that I use currently, this option isn't here. Instead, Open a button tab is a real personal touch I can move it anywhere near the bar of the browser, much as I have with the: start a conversation, current downloads, bookmark, home, options, privacy, etc... buttons.

    I like the feature to open a new tab with Firefox on my laptop but not on my desktop. However, I can't find anything on how to open a new tab appears with the real tablets themselves where it is conveniently next to the tab I'm on that, rather than being a button where I have to go to one side or the other of my screen to get a new tab to open...

    How do I change it?

    The image I have uploaded, 'B', this is what is on my desk, 'A' is what is on my laptop. "A" is what I want on my desktop.

    Don't know what you're going with "expected normal behavior." I was asking how to pass from one to the other, in this case 'B' to 'A' in regards to my image is concerned. But, in any case, go out of your first line "the new tab button displays a button"+"when the button is on the tab bar", it's answered my question without answering it directly.

    I asked how to get from one to the other, I know that both are possible. Which... answer my question would have been:

    Just drag the new customizable tab to the tabs above button, not the toolbar with the browser bar, etc. below.

    Behavior is not what I was asking, I was wondering how to change from one to the other. But thanks, move the button to the top with the tabs is what has changed for me in what I wanted.

  • A black band appears just below the bookmarks toolbar immediately after the uninstall of a program called 'Picexa '.

    A black band appears just below the bookmarks toolbar immediately after the uninstall of a program called 'Picexa '.
    Please, what is your solution?

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe

    You can use one of them to set toolbars to display.

    • Firefox '3-bar' menu button > customize > show/hide toolbars
    • View > toolbars
      Press the ALT key, or press F10 to display the Menu bar
    • Right click on empty toolbar space
  • I want to move photos in the cloud to my laptop to reduce storage i-cloud below the limit of 5 meg, simply, how can I do this?

    I want to move photos in the cloud to my laptop to reduce storage i-cloud below the limit of 5 meg, simply, how can I do this?

    Make sure that all your images are imported to Photos on your computer at full resolution, and then turn to iCloud library Photos OFF.

    To synchronize the new images of your iDevices to your computer, turn on my Photo Stream.

  • I want to change the layout of my e-mail messages so that the message is on the side of the headers not below them

    I want to change the layout of my e-mail messages so that the message is on the side of the headers not below them. I just downloaded mozilla thunderbird on my new laptop computer to I can not get the layout that I'd rather go back. Help, please. Thanks June

    Maybe try Vertical page layout view in the menu bar.

    No menu bar? Press the ALT key.

  • Remove bar below awesome bar

    There is a bar that had websites like ebay and other whatnot listed under the Awesome bar. I removed all the sites, but have now an empty bar below of Awesome and top of the Web page I want to remove. Could not find a way to do it. I don't see a place to add a screenshot, but I have one that signals if I'm not clear.

    Right-click the tab bar to the right of the + and deselect the option toolbar bookmarks in this context menu.

  • Read emails don't suddenly move below those unread.

    Before, after I read or an email is marked as read that it would move below those unread, now they do not. It's a really cool feature because it allowed me to see all my emails unread, even if a few days or a week at the top of my Inbox as of the Decree. Now, it does not more and I tried for about two hours but I can not understand how to get it back. Help, please.

    That's when I feel like a fool. Muchos Gracias Amigo!

  • Below average a performance on El Capitan

    I've upgraded to El Capitan. A painful process with another performance "below average" according to Etrecheck. I ran that the Linc Davis extended script once again. Here is the link to the Pastebin:

    http://pastebin.com/ckWwLieg

    If anyone can help? What's wrong? Why is it lower than average?

    Thank you

    Theo.

    Please post the output of Etrecheck.

    Try to uninstall the own memory and MacKeeper.

    Memory clean uninstall

    Mac Defender uninstall

    MacKeeper - do not install

    MacKeeper - do not install (2)        See the post on SDW2001

    MacKeeper Removal

    MacKeeper Removal

  • Below my taskbar about "Getting Started", I have some sort of link to a site about rabbits. I have no idea how it got there. How can I get rid of him?

    In the bar below my toolbar, it is the most visited, to start, latest headlines and "how to say rabbit." I don't like even the rabbits. How the hell he me here I do not know. How can I gt rid of it? Definition Firefox to default or even a more recent version of loading don't get rid of it either. I am hoping there is a simple solution, I simply don't see.

    Its default Favorites Mozilla Firefox, on how to use firefox and some links.

    Remove this

    • Goto menu > bookmarks > show all bookmarks

      • Right menu > all bookmarks > choose Bookmarks Toolbar

        • Delete the bookmarks.

    Or

    Disable the bookmarks bar

    • Menu > View > uncheck [] bookmarks bar
  • What is the bar below the address bar with nothing on it?

    I see the menu bar below the tab bar, lower than the location bar and a totally blank bar which I just can't hide and on which I can't put anything underneath.

    Hello. I was almost finished reset when it became apparent that the problem may be caused by my userChrome.css file. I deleted this file and the bar disappeared.

    Thanks to all who responded.

Maybe you are looking for