Flex 4.6 -- not able to Enable text fields

Posted on 2012-08-30
Last Modified: 2012-08-31
For the following code:

<?xml version="1.0"?>
<!-- dragdrop\SimpleListToListMove.mxml -->
<mx:Application xmlns:mx=""
	<mx:Text id="txtName" x="247" y="24" width="181" enabled="true" text="course1"/>
	<mx:Label x="137" y="24" text="Course Name:" textAlign="right"/>
	<mx:Text id="txtDesc" x="247" y="77" width="269" enabled="true" text="description1"/>
	<mx:Label x="157" y="76" text="Description:" textAlign="right"/>


Open in new window

since these two text fields are set as enabled="true", why is the user not able to edit the text field?

I'm moving data to these fields from a database to allow the user to edit the data before sending it back to PHP.  Should I be using a different control?   Is there a way to create a border automatically around text fields like this?


Question by:gdejarnett
    LVL 37

    Accepted Solution

    Text control does not allow you to input any text in it.  You have to use TextInput or TextArea for that.


    Author Closing Comment

    Thanks CyanBlue -- exactly what I needed.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Suggested Solutions

    First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
    ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now