ActionScript or States to achieve this functionality?

Looking for suggestions on how to develop this feature using ActionScript or Flex States...

I have a Flex form with 10 text fields used to enter the names of the song. The user can enter a name of song custom OR drag a name from the song of a data grid and drop it in the text entry box. If the song is deleted, I want the entrance visually change modified the name of the song label, assign a field id the hidden song and display a button delete that everything will return to the original empty text entry field.

Can I extend the UIComponent or TextInput with as to obtain the desired effect or try to accomplish with a different States of Flex? Something else?

One approach is to States, but if you're really just move around a field, I think it's better if you just need to put a label and a TextInput in the same place and set their visibility when required.

Tags: Flex

Similar Questions

  • How to achieve this function in that pic

    Hello! I want to get the function on this picture, someone knows it please tell me, thanks ~

    This seems to be a property of a control to the string node.

    Look for a control of the chain on the Panel diagram or block before, do a right click, choose Create-> property node and find the first element you want on the node.

    Then the mouse over the node down until you see a square appear in the low middle and that drag down several times until you have as many nodes as you need to change what you need to change.

    BTW, the specific function it appears to select part of the text and make it 32 point font, red and "BOLD"...

  • I changed the hard drive and was invited to provide an activation code in order to achieve the functioning of the operating system

    I had problems with my PC which is an old, 2003 E - business machines, I changed the hard drive and was invited to provide an activation code in order to achieve the functioning of the operating system, it is the third time that I had to do it in 2 years, a message came back to me that I could use this activation key which is Microsoft XP Home Edition... any suggestions I'm a student who can't afford to keep buying these keys to get my PC running, I have homework to fill out online... Please help

    Use telephone activation, say nothing, and you will possibly connected to a human being.  They should be able to sort out you.

  • I have problem with value NULL when the use CASE statement please help this question

    I have problem with value NULL when the use CASE statement please help this question


    Table: digital_val

    SNO cl C2

    1 San1 11

    2 22 San2

    Actual result: expected to A         B

    A            B                                                                           11        22

    11 NULL

    22 NULL



    query:

    Select case when c1 = "san1" then c2,.

    case If c1 = "san2" then c2 B

    of digital_val

    I'm more curious why, when you select 2 rows, you expect a result of row?

    WITH digital_val

    AS (SELECT 1 AS 'Sno', 'San1"C1, c2 FROM DUAL 11)

    UNION ALL

    2 SELECT AS 'Sno', 'San2"C1, c2 FROM DUAL 22)

    SELECT CASE WHEN c1 is "San1" THEN END AS A c2.

    CASE WHEN c1 = "San2" THEN END AS B c2

    OF digital_val;

    With no other input, if you select 2 rows, you get 2 rows.  One of the other solutions use a max function, but is this really what you want, does not specify?

  • If we then use the DML in function, this function can be used inside s

    If we use the DML statement in a function, then this function can be used within the select query or any DML query?
    select f from t2;
    

    I think that you wanted to interrogate t1.

    This works if the function is a stand-alone transaction:

    create or replace function f return number
    is
    PRAGMA AUTONOMOUS_TRANSACTION;
    begin
        update t1 set c=2;
        commit;
        return 1;
    end;
    / 
    
    select f from t1
    

    But as Billy, why would you do this way DML. And it's not stand-alone procedures should be used.

    A response to an interview question, but nothing wrong with it.

  • user logon name determines the page that opens, how can I achieve this?

    I have the basic 101 for all users login page.

    Once the user logs on, if the username is "guest", I would like to open page 2006. If the user name is 'Member', I would like to open page 2001.

    Or another way to look at it with privileges. The guest has the privilege of 'Edit', the Member has the privilege of "administrator."

    So, if a client connects to the 101 page, the application sees the privilege of 'Edit' and opens the 2006 page.

    If a member connects to the 101 page, the application sees the 'administrator' privilege and opens the 2001 page.

    Can someone tell me how I can accomplish this? Maybe is there another way that might be better to achieve this?

    Thank you
    Maggie

    This city offers is the right idea, but you must also disable deep linking. So here's how I'd do:

    1 create a PL/SQL process on the login page that fires before the login process that contains a statement:

    : FSP_AFTER_LOGIN_URL: = null;

    2. change the connection process

    declare l_page varchar2(30);beginif :P101_USERNAME = 'guest' then l_page := '2006';elsif :P101_USERNAME = 'member' then l_page := '2001';else l_page := '1'; -- default home pageend if;wwv_flow_custom_auth_std.login(    P_UNAME       => :P101_USERNAME,    P_PASSWORD    => :P101_PASSWORD,    P_SESSION_ID  => v('APP_SESSION'),    P_FLOW_PAGE   => :APP_ID||':'||l_page    );end;
    

    3. create permission schemes to prevent some users from pages that they are not allowed to use.

    Of course the test for specific usernames in the code above could be made more generic by taking the username and determine which group he belongs and assigning after correct connection based on the Group page.

    Scott

  • I have an iPhone 6 more, an official version of China, it shows a battery indicator when I turn off support, is this normal? I can depulicate this function to another iPhone? I know how?

    I have an iPhone 6 more, an official version of China, it shows a battery indicator when I turn off support, is this normal? I can depulicate this function to another iPhone? I know how?

    I remember reading somewhere on the Apple site in recent years on some models of Chinese iPhone with this capability. No other iPhones display this and there is no way to enable it. I can't find the article which includes this information.

  • I had Google as search engine by default, when I used the address bar to search for, but Yahoo has hijacked this function and I can't get default Google.

    Windows Firefox 29.0.01 8.1

    It doesn't seem to be an easy way to reset the default search engine to use in search in the address bar. Am I missing something?

    And also, why can Yahoo turn this function is the default search engine?

    Hi gcraighammond, I just noticed that you had a problem, a right-click. To change the search engine, click with the left button on the icon and a list of search engine options would fall down.

    Yet once, it doesn't until you move the search box back to the toolbar AND to exit to customize the view.

  • Is it possible to transfer videos from the iPod from someone else on my iPhone?  How to achieve this?

    Is it possible to transfer videos from the iPod from someone else on my iPhone?  How to achieve this?

    Depends on the model of iPod exactly.

    If the iPod is supported you can try using AirDrop: How to use with your iPhone, iPad or iPod touch - Apple Support AirDrop

    If this is not the case, there are applications in the App Store that will allow you to send files, including videos taken with the iPod and who reside in the film to other devices.

    https://iTunes.Apple.com/us/app/photo-transfer-app-easily/id365152940?Mt=8

    Photo transfer app allows you to quickly copy pictures and videos from your iPhone, iPad, Mac or PC using your local wifi network.

    You can't send videos that are stored by default Apple video App.

  • I want to record with < alt > < s > in the Exact program online. This function does not work. This is the first time I use this program with firefox.

    Question
    I want to record with < alt > < s > in the Exact program online. This function does not work. This is the first time I use this program with firefox.

    edit, escaped mod < s > in order to avoid the line through question

    A web page can be defined a "accesskey" for an item. Unlike IE/Chrome/Safari, who use the Alt key only, Firefox requires pressing Alt and Shift to activate the element. In other words, try

    ALT + SHIFT + S

    and see if it works.

    I don't know of any way to change this so that the change is not necessary. There may be an add-on?

  • Firefox remembered some but not all of my pre version 5 user names and passwords. How to restore this function?

    Firefox used to ask if I wanted it to remember a username and/or password. After updates, etc. (currently ver 5) remember two and continuied to remember, he arrested five. One of the five has had its password changed. How to restore and/or edit
    This feature. I have looked at the profile of password in preferences and find the two missing those listed, but they don't actually work.
    There is no apparent place I can renew/edit/restore this function?

    Make sure that you are not Firefox running in permanent private browsing mode.

    • https://support.Mozilla.com/kb/private+browsing
    • You enter private browsing mode, if you select: Tools > Options > privacy > History: Firefox will be: "don't forget the story ever.
    • To view the history settings and cookies, choose: Tools > Options > privacy, choose the setting Firefox will: use the custom settings for the story of
    • Uncheck the box: [] "Permanent private browsing Mode.

    Mode of private - browsing using Firefox without saving history Firefox don't fill automatically names and passwords and does not store the new passwords.

  • I no longer get suggested words when composing a message text on my iphone 5.  How to get back to get this function works

    I no longer get suggested words when composing a message text on my iphone 5.  How to get back to get this function works

    Make sure that the text is on. You can do this on the keyboard (if you have several) by pressing and holding down the button to change between them.

    Alternatively you can go to settings > general > keyboard and make sure predictive is turned on (the switch must be green).

    If you see the image below, press the small white bar above the buttons T and Y and slide upward slightly.

  • What is this function, and where in the list of the palette is it?

    As in the title.  I'm reconstruting the code of old screenshots, but does not have this function.  Any ideas?

    Hi James,

    It should look more carefully - into all pallets: GetTextRect

    Has not already started a different thread to ask the names of the icons of VI?

  • Problem with several sub-groups through case structure Enum: 'the VI isn't in a State compatible with this operation.

    Hello

    I'm using LabVIEW 8.0 and I'm trying to create a subgroup of experts which shows the façade of a subvi according to the choice made by the user via the menu drop down Enum.  I wired the Enum to a case structure and apply a coding identical to each structure of individual cases with the exception of course change the source of sub - vi.  However, you receive an error "The VI isn't in a State compatible with this operation."  I have managed to make a single sub - vi work within a subgroup of experts using a true/false case structure and the same exact coding.  However, now that I use an Enum box connected to a structure of the case, I get this error.  I enclose my diagram as well.  Could someone help me as to where it is that I am wrong?

    Thanks in advance!

    If your VI runs already, when you try to run it? Which returns the error you get.

    Check the State of VI before trying to run or make an error handling.

  • I created a backup feature of document for each document that I created, including new documents. I don't want no more of this function. How can I remove it?

    Original title: Backup Document

    I created a backup feature of document for each document that I created, including new documents. I don't want no more of this function. How can I remove it?

    Hey BradleyCloetingh,

    Can you reverse your actions when you first made the changes, just go through the process and change everything to the original?
    Or you could do a System Restore.
    Let us know if you are still looking for an answer.
    Thank you!

Maybe you are looking for