Please help with the creation of text box

Hi all

I'm new in FLEX 4, embarrassed so please excuse my questions.

What I want to do is to create a button that inserts a text box on my canvas, whenever it locks.

How would I do that?

Thank you very much

Tried your code. Got a popup saying:

Error: addChild() is not available in this category. Instead, use addElement(), or change the skin, if you have a.

MyCanvas.addChild (myRichEditableText) has changed; at myCanvas.addElement (myRichEditableText); and it worked.

But you must use a HGroup, a VGroup or a TileGroup instead of a BorderContainer... You wouldn't have the x value and y the text manually box.

Tags: Flex

Similar Questions

  • Please help with the problems of Vista SP2

    So I spent all day on the forums here and I'm head over heels.  I had problems with Windows update and some other problems on my Dell Studio XPS.  It is a tower with double HDs in RAID mirror running Vista 64-bit with SP2.

    I got it for 3 years and I thought that I clean and correct certain defects to go back to the original Dell factory condition.  That did not fix the update install problem I did cleaning.  Now it's worse.

    I'm trying to install SP2 and get a catastrophic failure 0x8000ffff error-UNEXPECTED

    The onlychange is that several months ago, one of my WD 640 GB drives factory failed and I replaced it with a Seagate Barracuda 1 TB since I couldn't find a 640 GB drive.

    I tried to stop and restart all services BITS, etc. no luck.

    I tried to run among the MS FixIt for the problem of update, but it fails because it says that it cannot initialize the powershell.

    Help, please... I'm hopelessly lost and can not spend more money on this thing.

    Thank you!

    If you need additional help with the clean install, please start your own, new topic in this forum: http://answers.microsoft.com/en-us/windows/forum/windows_vista-system

    If these procedures look too complex - and there is no shame in admitting this isn't your cup of tea - take the machine to a local, good reputation and independent (i.e., not a BigBoxStore or a Geek Squad) computer repair shop & ask them to do the job.

  • Problem with the creation of text file 9530 unit

    Hello

    I created the text file in the memory of the device "file:///store/home/user/sample/mytext.txt" with a text using my application. He created the file with the extension "mytext.txt.rem". While I couldn't able to read the same file.

    I tested the same application with 8520 and its works very well... It creates the file "mytext.txt" only.

    I don't know why the name of the text file adds extension ".rem" in 9530.

    Could you please help me to findout the solution?

    Thank you

    SmartPhoneDev

    You have enabled encryption.  Have a look here:

    http://supportforums.BlackBerry.com/T5/Java-development/why-my-text-written-to-a-file-on-the-SD-card...

  • Please help with the extended search and replace

    Thanks in advance to dedicate time to help.

    Why does this work?

    Find: jpg ">"

    "Replace: jpg" alt = "" >

    Parameters:

    Current document

    Text (Advanced)

    Inside of the tag (img selected) and I tried to not inside tag

    All the option boxes unchecked

    Click on replace all

    And nothing is found or replaced but there are many of them.

    I live and die by that in Homesite then please help me understand this so I must not have market Homesite too. I like it very much because such simple things makes me batty.

    You do this in the following parameters:

    Parameters:

    Current document

    Source code (and not text)

    Inside of the tag (img selected) and I tried to not inside tag

    All the option boxes unchecked

    Kind regards

    Vinay

  • Please help with the problem of Validation

    Recent changes: Yes, had to replace the hard drive of my laptop (I had three years and more)

    When error: when I copy the code returned by the validation tool

    What tool: GenuineCheck.exe (downloaded from http://www.microsoft.com/en-us/download/exe-validation.aspx)

    Windows Update stopped working, too.

    You will appreciate the help.

    RP3456

    Separated by the moderator of this thread:
    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-system/validation-tool-gave-me-this-answer/e51e7172-5bc8-42AE-AAB5-7f3c2fc0a166#LastReply

    Have you tried to restart by phone?

    How to activate Windows 7 manually (activate by phone)
     
    1) click Start and in the search for box type: slui.exe 4
     
    (2) press the ENTER"" key.
     
    (3) select your "country" in the list.
     
    (4) choose the option "activate phone".
     
    (5) stay on the phone (do not select/press all options) and wait for a person to help you with the activation.
     
    (6) explain your problem clearly to the support person.
     
    http://support.Microsoft.com/kb/950929/en-us

  • Help with the creation of color sets in the Illustrator file

    I'm repeating a specific background image on every page of a calendar and want to change its colors on each page. There are 2 shades in the image using a total of four different colors. I am not at all skilled in the theory of color and I was wondering if someone can please tell me if there is an easy way to come with harmonious color combinations that I can apply to the original Illustrator file? My solution shortcut would be to convert color to grayscale and apply a color overlay, but the image will seem just flat when I do this. I prefer to set the gradients individually but do not know how to find the compatible colours.

    Here's a preview of the image, followed by a DropBox link to the Illustrator file.

    background.jpg

    https://DL.dropboxusercontent.com/u/52882455/background1.AI

    Thank you!

    Couple for you ideas:

    First of all, try to use the color wheel on color.adobe.com.  Select the middle color and add your hex code of the color.  The app will automatically show you similar colors.  See an example of here. You can also experiment with other rules of color in the color rule menu (just click on one of them).

    Second, take a look at themes created by others.  If you are generally looking for colors that work well with the yellow, you can browse the most popular themes and identify some that use yellow.

    I hope this helps.

  • Need help with the creation of SQL table

    Hi all

    I created a table, a month back. Now, I need to create another table in the same structure.
    Is there a way for dat I can get the script from the table I created earlier and use the same to create another.
    Or y at - it another way, so that we can create a table with the same structure of the existing table.

    Help, please.

    Kind regards
    Mohan

    Discover the function [DBMS_METADATA. GET_DDL | http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_metada.htm#i1019414].

    Example:

    SQL> SET LONG 5000
    SQL> SELECT DBMS_METADATA.GET_DDL('TABLE','EMP','SCOTT') FROM DUAL;
    
    DBMS_METADATA.GET_DDL('TABLE','EMP','SCOTT')
    --------------------------------------------------------------------------------
    
      CREATE TABLE "SCOTT"."EMP"
       (    "EMPNO" NUMBER(4,0),
            "ENAME" VARCHAR2(10),
            "JOB" VARCHAR2(9),
            "MGR" NUMBER(4,0),
            "HIREDATE" DATE,
            "SAL" NUMBER(7,2),
            "COMM" NUMBER(7,2),
            "DEPTNO" NUMBER(2,0),
             CONSTRAINT "PK_EMP" PRIMARY KEY ("EMPNO")
      USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS"  ENABLE,
             CONSTRAINT "FK_DEPTNO" FOREIGN KEY ("DEPTNO")
              REFERENCES "SCOTT"."DEPT" ("DEPTNO") ENABLE
       ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS"
    

    Published by: Centinul on January 11, 2010 08:01

  • Please help with the problem of deployment OTA

    Hello

    I'm trying to deploy my application (for the first time) using a live approach.

    First of all, let me mention that I developed this application using the BB for Eclipse plugin.  It generated files jad and cod.

    I have 5 files of cod and jad for the application, all in a directory on a web server. Apache has been set with the necessary MIME types for jad and cod files.  When I use the browser on the BB to access the jad file, your browser correctly displays the name, Version, vendor, etc. of my application.  But then he said:

    This application requires the following modules, which are not installed:
    {followed by a list of my other 4 modules}

    This is obviously a true statement, but I thought that the jad would cause the BB get these other modules and install them automatically.  It would really suck if my customers had to manually install each of the 5 modules.

    It is therefore possible for the other 4 modules loading is automatic, and how I have to happen?

    Moreover, my OS is 4.2 and my application is written for this OS.

    Thank you
    Paul

    See if this helps:

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=25327&query.ID=11...

  • New user needs help with the creation of an animation :)

    Hello

    IM fairly new to all Adobe Premiere Pro Im using CS6 and need help with it.

    I want to make a video and add a scene that looks like the beginning of this video Sarah the movie - YouTube , to be exact - the animation at the location where you type your user name and password, I can do that in Adobe Premiere Pro? I want to do exactly the same animation and no idea of how do

    Would appreciate any help!

    There are several ways to do so.

    One way would be to create a title with the name and title with the password.  Add the crop effect to each and the keyframe as necessary. Adjust the size and position as desired.

  • I have problems with the resizing of text box. I can only display width or height not both

    I'm new to Flash, I was able to create the text box and adjust the width and height, but now can only set the width. The box height is unusable. Did turn something off? I use the horizontal mode.

    Steve

    If you have the textfield value "Static Text", then the text space extends vertically so that it contains the text that you type in. You can adjust the width and height will change to accommodate the text content.

    If you change the "Input" or "Dynamic" textfield, then you will be able to resize the textfield that you want.

  • Please help with the DNS problem in VMware Workstation 6.0.2

    I have 3 servers Configuration of VMware Workstation. There are a the Ethernet parameters ' host only: a private netwrok shared with the host country. The problem is I have a server configured as a main domain controller, I can join my other two servers to the domain very well, I can ping by name, but none NSLOOKUP. Basically I have a DNS issue that I MUST correct.

    Anyone know what could be the problem? Or where to look? I attach a doc with my settings.

    Thanks in advance.

    Have you checked that the clients are configured to register in DNS?

    Have you checked the the event log for entries regarding a DNS record failed?

    Did you check that there is a records for each host in the appropriate DNS zone?

    The clients have the right DNS server configured?

    If you found this information useful, please consider awarding points to 'Correct' or 'Useful' responses Thank you!!

    AWo

    VCP / vEXPERT 2009

    Published by AWo

  • Please help with the installation of flash... :)

    Hey there im im sorry to add the number of people who are trying to get their flash player works, ive read a fair few discussions now and nothing seems to work as well now ive wat some of you more advanced posters have noticed and opened my own discussion, any input would be great.

    he tries to update, you

    up to now im getting no videos, games or anything that uses flash.

    on youtube (I use flash more for really) sound telling me that I need to update adobe flash, so I followed suit and used the Manager of d/l adobe trying to install flash 10, 1 couple of times it says has failed the verification of integrity, but then installed (or told me he had), although nothing had changed. I looked at the adobe help, got the uninstall application, follow the restrted instructions and tried again... nothing, tried to remove the flag thing in the registry... nothing, has also deleted all my software antivirus and anti-spam apps and installed avg d/led only retried the d/l Manager adobe said once again, she had and nothing... any ideas guy? Here are my specs also

    THAT IS TO SAY 8

    win xp HE

    antivirus - AVG FREE

    anything else you need to know?

    Again any help would be greatly appreciated

    Thank you

    function() {return A.apply (null, [this] .concat ($A (arguments)))}

    00zigzag wrote:

    FlashUtil10h_ActiveX.dll version 10.1.53.21

    That explains it - you must have installed version 10.1 beta at some point and not properly uninstalled.

    Download the program uninstaller 10.1 from http://labs.adobe.com/downloads/flashplayer10.html, then follow the instructions in http://labs.adobe.com/technologies/flashplayer10/releasenotes.pdf on how to run the uninstall program with the -force option.

  • Problem with the pdf export: text box becomes visible

    When I export to pdf format, sometimes a text box lines become visible. In Indesign, I put them in transparent, so you don't see them here. But after an export to PDF, they are visible in the form of thin white lines. I tried to export to EPS and also here it gives white lines: the borders of a text box. Seems not all the text boxes. But sometimes one or two.

    So let me assure you... it will DESTROY the quality.

    Bob

  • Help with the drop-down list boxes

    Hello.  I am working on a form that contains three drop-down lists that have different names.  All three have the same point selections, but I want that each of the three to automatically fill in its respective field (it is essentially a price sheet where up to three elements may be selected and you'd see every price indicated in front of it).  I got concerning depression the 1st drop to fill its field using the script "setvalues.

    However, when I try to create the following scripts for two other menus, it seems that I finally, create all three drop-down lists that all fill in the very field that corresponds with the latest script, that I added, instead of the respective field. To clarify, after 1 was created, it works normally.  When I create a second script for the 2nd menu drop-down & price field, both drop-down lists only affect the 2nd price field.

    I assured the fields have different names, and these names are specified in each script.  I do not understand why acrobat would allow, when the script specifies the field that I entered.  It is essentially in a field that isn't in the script.  Of course, I am a novice, so any idea how works this process is very appreciated!

    Thanks for your reply, George!   I really love it!  What I was doing wrong placed the code in the javascript Document, so it was essentially apply the script all dropdowns.  What I did instead was delete and go in each drop-down list individual and added the script as the custom format script.  Just in case someone else did the same thing, here's the script that I use [details omitted to save space...]

    Put all vorkriegsbevölkerung data in a single data structure

    var LaborCode = {SelectCode: {cost: ' '},}

    XYZ {cost: "123.45"},

    };

    function SetFieldValues (cLaborCode)

    {

    this.getField("LaborPrice").value = LaborCode [cLaborCode] .cost

    }

    Thank you!!

  • Please help with the correct color settings

    I use ID CC depending on which we, my printers want my final PDF either as PDF/x-1a (I know it does with regard to Flattening) or PDF/x-4.

    I need all color images for close to CMYK, no matter what they were when placed. I need all 100 %K black to stay like this and not to convert an intense black.

    Currently, my document color settings are:

    Parameters: general use of 2 North America

    Workspaces:

    RGB: sRGB IE61966 - 2.1

    CMYK U.S. Web Coated (SWOP) v2

    Color management policies:

    RGB: Preserve embedded profiles

    CMYK: Preserve numbers (ignore linked profiles)

    Conversion options:

    Engine: Adobe (ACE)

    Intent: Relative Colorimetry

    I use the default settings for PDF/x-1's or PDF/x-4 (most have the ink Manager to convert all tasks to deal with) and and always receive a yellow warning with the following in general warning triangle:

    The preset specifies source profiles that do not match the current color settings file. Profiles specified by the color settings file will be used.

    What should I check in my document color settings to avoid this error message (the resulting files do appear to be OK for what I need, I want to just make sure that I put it just in case this error). Of course, other thoughts are always appreciated also.

    What should my document color settings also if the final document will be black and white (in grayscale) and contains only data on the black plate?

    Sorry to contradict the Peter a bit here, but X - 4 allows to RGB, rather than to specify it, so you can have your PDF by setting 'Convert to Destination (preserve numbers)' with an appropriate destination CMYK profile and still conform to the standard X-4.

    That's what I'm doing here, because I prefer the Adobe CMM performs the conversion.

Maybe you are looking for