TextFlow and controller being created too early?

I drove my work with the TextFlow into a component of the canvas, he is in a SWC and successfully is part of the application, so that it has been designed. No problems. Okay, now time to re - use my work in another app that could benefit from a rich text item. At through the usual movements and got all my UI for my component rendered except the TextFlow text!

Then I discovered, that's when I resized the browser window that my hosting Flex application, the waterfall resize event got the TextFlow to finish rendering, scroll bars had poorly paid, and he was ready to accept entries with the blinking cursor.

Here is a dump of some tracing statements that I have in my code, I'm working on the order in which events are pass and when the text stream gets adequate measures:

Composer-> resize-> TextFlow New Dimensions-> w: 0 h: 0
Composer-> Display Controller-> TextFlow Dimensions creation-> w: 754 H: 0
Composer-> created
MessageEditorBase-> created
MessageEditorBase-> event-> resize
MessageEditorBase-> event-> display
Composer-> resize-> TextFlow New Dimensions-> w: 754 H: 0
MessageEditorBase-> event-> resize
Composer-> resize-> TextFlow New Dimensions-> w: 1328 h: 274
MessageEditorBase-> event-> resize
Composer-> resize-> TextFlow New Dimensions-> w: 1328 H: 275
MessageEditorBase-> event-> resize
Composer-> resize-> TextFlow New Dimensions-> w: 1329 h: 276
MessageEditorBase-> event-> resize
Composer-> resize-> TextFlow New Dimensions-> w: 1334 H: 277
MessageEditorBase-> event-> resize
Composer-> resize-> TextFlow New Dimensions-> w: 1350 h: 279

"MessageEditorBase" is a canvas (used as a tab) that is displayed to the user. In this painting there has many components, including the 'composer' who is actually a toolbar of the elegant buttons and format works, and then a blank canvas that holds a UIComponent and becomes the DisplayObjectController. Works fine in my other app, code is near line for line with examples of Adobe.

Notice how he starts 0,0; and then gets a measure of the width of 754; Finally when I the user resize the application complete the rest of the appropriate dimensions do get calculated.

I don't think it's a problem of TextFlow, but I can't say that I understand the hierarchy made enough Flex have implemented a TextFlow and its controller in the right way with this app.

Any thoughts? If you would like more information, just ask and I will try to explain as best as possible.

It turns out that with a lot of statements of fiddling and trace, I found a way to initialize the DisplayObjectController with valid pixel values. In your examples of TLF, the developers always created a controller display object using the specific dimensions, such as 250 x 250. But I need my text component to be created dynamically depending on the size of the screen of the user. This was not correctly after I upgraded to build TLF 370, although he is not even a problem TLF.

I have taken the steps of the parent Canvas. For some strange reason, in the world of measurement of Flex components, the child canvas further down into the application, I added the sprite was not get metered. When I switched the controller values width and height of this child, so they were 0.

I hope that makes sense, but anyway, problem fixed.

Edit:

Here is an example of my code by using a custom controller that had the overloaded event keyDown:

theController = new ComposerDisplayController (uiFlowComponent, uiTextArea.width, uiTextArea.height, this);

I spent the values I would expect UI to measure rather than provide me explicit pixel values. I had a problem when the user interface gave me zero.

Tags: Adobe Open Source

Similar Questions

  • Warranty start date shows two and a half months too early

    HP Jet 7 Tablet - 5709. Tablet received 24/01/15 and I signed it that day. When I go to my page to check the warranty and enter my serial number, it indicates the date of start of guarantee a November 5, 2014.  When I wrote to HP Support, my answer States (case: edited by moderator): "Support case manager is not available at this time for HP Stream 5709 7 Tablet."

    I'm confused.  All I want is the correct date for my tablet. Who should I contact to get this resolved?  Thank you

    HI @BAGS7 ,

    I brought your question to the attention of a team within HP. They are likely to ask for information from you to get your information or product serial number. Please search for a private message from a contact HP identified. Also, remember not to publicly display (numbers series and information).

    If you are unfamiliar with the operation of the function of the Forum, private messages you can learn about this here.

    Kind regards
    George

  • App problem creates too many handles, PC crashes, how do I know why and stop it?

    We have a problem application that creates too many handles (about 3000 every 2 seconds), but it does so only with certain PC which have a conexant onboard sound, how can I find more information about why the handles are consumed at such a pace? (winxpsp3, dell optiplex 390)
    Application uses a wrapper.exe and seems to use a lot of Flash/Shockwave/Java. (Range of software active Teach of Pearson).
    The handles of process SYSTEM seem to be created as the registry constantly queried for (relative to the sound card) non-existent registry keys.
    His conexant card drivers were installed as a local administrator, and update the BIOS & PC drivers not yet had effect.

    Once the number of handles starts to get in the Millions, the PC grinds to a stop/crashes(usually takes less than 30 mins!) coup!

    Any help, suggestions accepted with gratitude.
    Thank you very much
    Dave.

    Hello

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Windows Networking forum.

    http://social.technet.Microsoft.com/forums/en/w7itpronetworking/threads

  • Version of VI is still too early to convert the last version of LabView

    I get this error when deploying a simple loop VI I try to troubleshoot the symptom of not being able to connect to the remote control.

    I have LabView 2014 SP1 version 14.0.1 installed and that's what I used to build the VI (see attachment).  The version of the software on the cDAQ 9139 I work with ranges from 14.0.1 for real-time 14.2.0 for DAQmx 14.5.0 or Web Application Server.  (See attachment).

    How can we still too early to convert to the current version, if the software LabView 2014 is installed on the cDAQ has VI created in LabView 2014?

    Again, the symptom that I see is "Server does not support remote façade panels" when you try to access the façade of a web browser.   I confirmed by working with our it Department IS not blocking all communication.  The Blue Coat standard software is not installed on the computer, I'm trying to access the Panel of (I also tried to connect to the remote control of my computer at home that has no software IS on it with the same results).  Anything related to the NC was added as exceptions to the firewall.  I have tried a large number of configurations of ports and worked through the troubleshooting list, you can find on NI.com when you search for this error.  There must be something tiny miss me.

    In addition, nobody knows what the two links in the HTML file that is generated when you use the Web publishing tool are supposed to do?  One is a FTP link and the other is a link to the plugins page.

    I took two step forward on this issue.  First of all, I reformatted the hard drive of the cDAQ and reinstalled only most of the software as before, I had been all install available on the host the cDAQ.  This seems to have fixed the error 'version of VI is too early to convert the last version of LabView.  Secondly, I discovered an error in my understanding of the port settings.

    In the configuration of the cDAQ web screen, the web application server is listed as port 8080, by default I believe.

    In the properties cDAQ in the Project Explorer window, the web server has been changed on port 80 to eliminate the need to put in the port number to access the remote control.

    I'm sure it's an assumption on my part, and oblivion, but I thought that those who have the same parameter with just the ability to be set from two different places.

    When I try to access the remote control via the web browser uses the web application server port listed in the views of web configuration, I received the error "server does not support the remote panels.  When I try to access the remote control via the web browser using the port listed in the properties of the CDAQ project for remote control Server Explorer, I could see and interact with the remote control.

    This probably also makes perfect sense now that I understand they serve two different goals, but if you define two ports at the same address, you will get the error "server does not support the remote panels.  Interesting that it always provides the correct html page.

    I am sure it was my problem throughout linked to the issue of the remote control.  I was probably just lucky when I put the Panel remote port server during the initial setup and my luck ran out when I upgraded to LabView 2014.

    Hope this helps people who may have the same assumptions I made.

  • TS4.2: VI too early to convert

    Hello

    I get the error-18002 VI too early to convert when I run a file of sequence TestStand 4.2 with TestStand Base Deployment Engine. I created the installer of the deployment with the deployment in TS4.2 tool and installed on a second system. I have added all the necessary runtimes LV and pilots incl. TestStand deployment engine. All installed software shown in the MAX are equal to the developing system. But on the target system, I still have the mentioned error. So I looked on the Forum of NEITHER and found a similar problem, but no real solution for this. I think, that the TestStand Base Deployment Engine on the system target chooses runtime LV evil, something higher then 8.2.1 (this is the version of VI). When I change the map of Labview the development of the system for 8.6.1, I get the same error. But with 8.2.1, everything works well.

    How can I change the default Version of Runtime of LabView for TestStand Base Deployment Engine?

    Thnaks in advance

    M. Tiedje

    You can copy the exe from the user interface to the target system (or deploy with your application). You can find the compiled version of the "full UI recommended" in the directory C:\Documents and Settings\All Users\Documents\National Instruments\TestStand 4.2\UserInterfaces\Full-Featured if you have installed the default directory.

    hope this helps,

    Norbert

  • About a month ago I posted a question about iMovie and not being able to "share". I solved the problem thanks, so no more emails!

    About a month ago I posted a question about iMovie and not being able to "share". I solved the problem thanks, so no more emails!

    Hi Michael,

    If you want to stop receiving notifications by electronic mail, in the thread, that you have created, then I suggest that you follow the steps below:

    One time connected to the Apple Support communities, visit your mini profile and select manage subscriptions.

    Content

    To manage this content, you are currently subscribed and changing your preferences, select the content.

    Select next to see what content you are currently following.  Note that any thread you are responding you subscribe you automatically to this thread.

    You can select to terminate a subscription to a thread.

    Learn how to manage your subscriptions

    Take care.

  • lvwutil32 version too early on down to the last version of LabVIEW?

    Hi all

    I want to order the Platinum windows with some of the useful vis stored inside the lvwutil32 lib. However when I tried to open the screw inside the library, an error message saying that the vi version (4.0) is still too early to be converted into my latest version of LabVIEW (8.5.1).

    Is anyway to convert the usable by my course LabVIEW vi? It is a great shame from the Readme file that accompanies the lvwutil32, it seems that there are a lot of useful screws that I would find very useful for my projects.

    Hope someone could provide help on this. Thank you!

    Here is both.

    Don't see much sense in the lvterm.vi. It could be written from scratch in a short time and with the structure of the event, be a better program.

  • DeskJet 3520 prints paper usually ok but food takes hold of the sheets of labels Avery too early

    I have a Deskjet 3520 eAIO (wireless). Print labels Avery fine on other printers, but when I try to print them on the 3520, it seems to start to give the sheet of labels too early which means printing from more down the page (about 1/2 "") as it should. My 8 + yr old Canon print all types of avery labels with no problem, but he just finally bit the dust and I'm stuck.

    Hi panavygirl,

    I understand that you have a problem with printing labels Avery to your Deskjet 3520 printer. I'll try my best to help you solve this problem. Could you please tell me the model number of your printer and the operating system that you are running on your computer?

    HP Deskjet 3520 e-all-in-one and e-all-in-one printer, HP Deskjet Ink Advantage 3520 product specifications the table below shows the types of paper supported. This printer doesn't support label paper. That said when you choose the type of paper in the advance printing preferences menu, try to choose a paper to heavier weight for the printing of labels.

    The following table contains a list of sizes and types of paper supported.
  • I upgraded my Vista Home premium to windows 7 ultimate, shortcuts on the desktop are not displayed, and can be created, or any folder cannot be created until the flash drive is reinserted

    during the upgradation he automatically took backup to an external flash drive, now every time I have to run has previously program I have to insert this flash drive.
    also all the shortcuts on the desktop are not displayed, and can be created, or any folder cannot be created so that the flash disk is reinserted

    Hi subhshy001,

    Welcome to the Microsoft Windows answers Forum community!

    Try this if you do not have

    Windows Explorer to create the folders and shortcuts in your document folder, drag and drop them on your desktop.

    If you have completed the steps and was not even useful,

    Follow these steps:

    Try to create a shortcut and sending it on the desktop.

    (1) open: Start Menu ,.
    (2) right-click: Internet Explorer icon .
    (3) select: send to > desktop (create shortcut).

    There should be a shortcut on the desktop .

    Make sure that the "show desktop icon" has a check against it

    OR

    Just click on the empty part of the desktop, choose new > then select the folder to create. Right click on this folder , select Rename it.

    If the steps above do not work then:

    You can scan your computer for malware.

    You can download, install and update anti-malware free of your favorite search engine and find malware.

    Important note:
    this response contains a reference to third party World Wide Web site. Microsoft provides this information as a convenience to you. Microsoft does not control these sites and no has not tested any software or information found on these sites; Therefore, Microsoft cannot make any approach to quality, security or the ability of a software or information that are there. There are the dangers inherent in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    If the scan comes back clean, so I recommend doing a System File Checker too l to analyze your OS system files.

    To help resolve this problem, use the tool (SFC.exe) System File Checker to determine which file is causing the problem and then replace the file. To do this, follow these steps:

    1. open an elevated command prompt . To do this, click Start , click principally made programs , Accessories , right-click guest , and then click run as administrator .  If you are prompted for an administrator password or a confirmation, type the password, or click allow .
    2. type the following command and press ENTER: sfc/scannow (Yes there is a space after sfc) the sfc/scannow command analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions. This analysis do take some time to complete.

    Hope this information helped!

    Thank you, and in what concerns:

    Aziz Nadeem - Microsoft technical support.
    Visit our http://social.answers.microsoft.com/Forums/en-US/answersfeedback/threads/ Microsoft answers feedback Forum and let us know what you think.

  • HDMI port stops when stowing E7450 processor and controller

    I have recently received a new E7450 processor and controller to replace an E7440. My E7440 worked perfectly in my PROX3 docking station. I have three monitors (right now, just try with two until the issue is resolved). Again, my E7440 works PERFECTLY with all three connected monitors. I connect two of them to the back of the docking station (VGA/DVI). The third is connected directly to the laptop's HDMI port. I used this configuration during the previous several years and two laptops from Dell.

    Now that I've updated for E7450 processor and controller, HDMI port ceases to push graphics as soon as the laptop is connected. Two other monitors work fine. Here is what I tried:

    1. I disconnected the other two monitors (ensuring that this isn't a problem with the graphics card does not support three monitors).

    2. I then plugged into the HDMI Jack on the laptop - nothing

    3. I seconded the portable - PHOTO! YAY!

    4. I have connected the laptop - photo gone, boo!

    5. Rinse and repeat in many different ways.

    ALSO, in which case it is suggested, I have already updated all drivers (BIOS, chipset, GPU, etc.).

    Conclusion, the laptop docking station seems to just close the HDMI port. How can I get that laptop to the HDMI port to continue working moored?

    * UPDATE *.

    I unplugged the other monitors of the docking station and the connected HDMI monitor started working. I reconnected it then either the docking station monitors and monitor HDMI immediately lost the connection again. For some reason, this laptop is not allow both HDMI and VGA or DVI to work simultaneously.

    Never found a solution to the problem with HDMI works not as any other view is hung. That being said, I've found a workaround. I hope this helps others.

    Rephrase the question more clearly - I have an E6420 E7440 and a processors E7450 and controller. I installed Windows 7 Professional on all three laptops. Each laptop has all the updates applied and latest windows drivers. The E6420 and the E7440 both work with a connection HDMI, VGA and DVI (HDMI on the laptop itself, VGA/DVI on the docking station). E7450 processor and controller, although it has the same exact port as the E7440 design, does NOT allow for the HDMI port to work as any other display (VGA, DVI or DP) port is connected.

    Fortunately, the E7450 processor and controller has a mini DP to this topic. I bought an adapter mini DP to HDMI and connected my third monitor to the card and the mini DP port on the laptop. Now, all three monitors are working once more.

    Now Interestingly if I connect the mini DP to my E7440, it does NOT work while the other monitors are connected. So for the E7440, can I use the HDMI connection, but NOT the DP connection. Just the opposite with the processors E7450 and controller.

  • When should I cancel my 1 year subscription to avoid paying a new period of 12 months or pay the cancellation fees too early?

    Hello

    I am currently considering on buying a subscription for one year for the 2015 CC, but I ve heard it is extremely difficult to cancle your membership and that many people had to pay taxes etc. they´ve canceld because too early.

    So my question is: When should I terminate my subscription to avoid charges of cancellation earlier than or worse still, the subscription auto - renews. And also, how do I cancel my subscription?

    Kind regards

    Phil

    Hello

    In the 12 months of your membership, you will be eligible for cancellation without any early termination fees.

    and if you don't want it to be renewed for next year, you will need to contact before your next billing date (renewal date)

    You can also view Adobe - General conditions of subscription

    The cancellation, you can Contact Customer Care and also try phone support | Orders, returns of trade

    Kind regards

    Sandrine

  • Screen resolution signal with Dell E7450 processor and controller. Help!

    Hi All-

    We have some Captivate users who have just received of new computers, touchscreen Dell E7450 processor and controller with WIN8.1 installed.

    We are current users of Captivate 8.

    The issue we encountered is that when attempting to capture using our preferences, screens change resolutions on us.

    Here is what happens...

    1. Changes to the user to screen resolution 1024 x 768 (applys and accepts the change)
    2. Selects to monitor 1, full-screen capture
    3. To start recording; registration ends

    When you look at capturing what we see is that the captured images do not show that 1024 x 768. There are large black borders on one or two sides, and the program that we are captures show left or right raised in a corner.

    When we check the properties, this also shows that the captured resolution isn't what we put on the screen (and still shows). It shows, he changed to 1280 x 960.

    Has anyone else had an experience like that, and if so, how have you solved this.

    We have tried several options, including moving at different resolutions, changing the screen capture to capture the application (which shows the current window too small to see the app), so the addition of an external monitor to see if a capture would work to form it. Nothing seems to work that we can think.

    Any thoughts or resolutions to try would be appreciated that we must make our developers back from work.

    Thanks in advance!

    We managed to find a solution to this problem thanks to Rick Stone...

    The PPP should be set to 100%

    apparently the default dpi has been set at 150% if once we have reset all worked as expected.

  • Hello, I can not download first time cs6 remove too early. Help, please

    Hello, I can not download first time cs6 remove too early. Help, please

    Hi Leon92,

    Pleaase follow the steps mentioned in the KB: http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html and try to install again.

    You can also only the direct link: http://prodesigntools.com/adobe-cs6-direct-download-links.html .

    Please follow the very important instructions before downloading.

    Kind regards

    Romit Sinha

  • FPGA Interface C API, error-63105, OR-RIO: C/C++ identifier is already in use and cannot be created.

    Hello

    Installation program:

    1 x the NI PCIe-7841R

    When I am trying to automatically generate a C++ API for my top FPGA VI using the FPGA Interface C API 12.0 I get the following error.

    Error-63105

    NOR-RIO:

    The "NiFpga_FPGATop_IndicatorBool_DMAFIFOtimeoutoccured" C/C++ identifier is already in use and cannot be created.

    Anyone know what this means? Is there some kind of limitation on the appellation of front interface controls?

    /Mola

    Problem solved.

    I had placed two flags with the same name on the front panel - by mistake. It builds the FPGA without errors, but the C API generator was not in favour of that.

    / Mola

  • mass flow meter and controller

    Hi all.

    I have the mass flowmeter and controller of Bronkhost. I tried to control using RS232 communication and I found labview progrma developed by Bronhkost to set the desired value and read the measured values. These works of independent Labview programs and when I try to set and read the measured values by connecting one after the other. I can adjust the temperature setting to the controller, but I can't read the measured values. Therefore, I here enclose labview programs, developed by Bronkhost. Any body who has done it before please help me with my troubles.

    Concerning

    just solved!

Maybe you are looking for