Suggestions?  How to encode components/part correctly "nest".

Hello

I have a situation with components nested like this:

Request (STATE1)

-Component_A (STATE2)

-Component_B (STATE2) <--most of the action is here-->

-Component_C (STATE2)

My main problem is that Component_C works very well by itself to control its own properties and methods, but I need to also dynamically control certain properties of TextArea (such as visibility) in Component_B.  However, Component_B objects are only "knew" by the code I'm using (as file) Component_C control.  I am considering not using Component_C and just integrate the buttons/text/rectangle box Component_B, but it will be "deModularize" my app which will be about 200 Component_Bs, thus causing recreate me Component_C (about 200 times) as an object, rather than a component inside Component_B.

Thanks for taking the time to read this - I know it is long.

Doug

NEVER EVER EVER EVER use classes to display as controllers or presenters of the other display classes.  I still have shrapnel in my leg from the last project if this was the theme of the main design.

If you need manage the view classes, you can do the presenters, who have no knowledge of the view class.  It is very easy to do especially with Flex databing (including both ways).  Or you can opt for a controller, by adding an interface for the tandem of component B/component C. That way if you decide to be part of C from B not to break anything.

Tags: Flex

Similar Questions

  • Try to load software PhoneTree and I continue receiving ADODC error code. What should I do to install the software? How can ADODC error be corrected?

    Try to load software PhoneTree and I continue receiving ADODC error code.  What should I do to install the software?  How can ADODC error be corrected?  I have Windows VISTA

    Hello

    Thanks for posting your question in the Microsoft Community.

    From the description of the problem, you are not able to install a belkin wireless adapter. I'll be happy to help you on this question.

    You did changes to the computer before the show?

    Method 1: I suggest you to run the fixit from the following link:

    Diagnose and solve the program installation and uninstallation problems automatically
    http://support.Microsoft.com/mats/Program_Install_and_Uninstall/

    Method 2: I suggest you perform the clean boot and check if the problem persists.

    How to perform a clean boot for a problem in Windows Vista, Windows 7 or Windows 8
    http://support.Microsoft.com/kb/929135

    Note: Follow How to reset the computer to start as usual after a clean boot troubleshooting article KB929135 to reset the computer in normal mode.

    Get back to us and let us know the State of the question, I'll be happy to help you. We, at tender Microsoft to excellence.

  • How to set the timing correctly?

    Based on the following batch file, I would like to raise the window at 11:05 and 11:07.

    Because he wanted to wait 1 minute before you restart, if the batch file is executed at 11:05, which wait a minute before you restart the window at 11:06.

    If the window does not always complete restart until the 11:07:36 or after 11:08, I would like to know about the question of whether or not the second restart at 11:07 process would be treated. On other words, if the window si la fenetre termine end relaunch 11:07:36, because the schedule at 11:07 is over, window would still go this annex missed 11:07?

    Does anyone have any suggestions?
    Thanks in advance for your suggestions

    Batch file: restart.bat

    %windir%\System32\shutdown.exe - r t 60 f

    How to set the timing correctly?

    Hello

    Sorry for the delay in responding.

    You run a batch file, your Windows question is more complex than what is generally answered in the Microsoft Answers forums. Appropriate in the TechNet forums.

    Please post your question in the Windows 7 IT Pro TechNet Forums: http://social.technet.microsoft.com/Forums/windows/en-US/home?category=w7itpro

    Thank you.

  • How to encode a video for an iphone?

    Back story: I used the first pro to make videos, I needed, but to keep the same dimensions, I was exporting as these large files (500-700 MB). I need to download the videos on instagram, that's why I need to make them able to be transferred to my iphone.

    So I downloaded encoder and regardless of how to encode using the option "iphone", it keeps making them with the black bars on the side. I obviously don't want the black bars if I click corresponds to the source in the video options, but it then changes the encoder setting to 'custom' that does not allow it to play on my iphone.

    Is there a way I can encode videos WITHOUT black bars so I can record on my iphone and then put them on instagram?

    I added the reference photos.

    Fig 1: try to export using the preset of the iphone, which gives black bars

    Photo 2: The source

    Photo 3: Changing the video settings for "corresponds to the source", the creation of a custom preset can play on iphone

    (I also welcome suggestions in doing so using first pro to export the videos, then save them in my phone because I have always saved them as files of pproj.)Screenshot (23).pngScreenshot (22).png

    Screenshot (25).png

    Hi brennah,.

    Try this:

    1. in the project Panel, right-click on the image and select "new sequence of the Clip.

    2 - your monitor of the program should look like this:

    3. after installation, go to file > export > Media or (Ctrl + M) and export in H.264 format

    4 - play on your iPhone. (iPhone screenshot below)

    I hope this helps.

    Regalo

  • How to assign values to the nested table and passes as a parameter for the procedure?

    How to assign values to the nested table and passes as a parameter for the procedure?

    Here are the object and its type

    create or replace type test_object1 as an object
    (
    val1 varchar2 (50).
    val2 varchar2 (50).
    VARCHAR2 (50) val3
    );


    create or replace type test_type1 is table of the test_object1;


    create or replace type test_object2 as an object
    (
    val1 varchar2 (50).
    val2 varchar2 (50).
    VARCHAR2 (50) val3
    );


    create or replace type test_type2 is table of the test_object2;


    GRANT ALL ON test_object1 to PUBLIC;


    GRANT ALL ON test_type1 to PUBLIC;


    GRANT ALL ON test_object2 to PUBLIC;


    GRANT ALL ON test_type2 to PUBLIC;

    Here is the table object type:

    create the table test_object_tpe
    (
    sl_num NUMBER,
    Description VARCHAR2 (100),
    main_val1 test_type1,
    main_val2 test_type2
    )


    NESTED TABLE main_val1 STORE AS tot1
    NESTED TABLE main_val2 STORE AS earlier2;


    -----------------------------------------------------------------------------------------------------------

    Here is the procedure that inserts values into the nested table:

    PROCEDURE INSERT_TEST_DATA (sl_num in NUMBER,
    Description in VARCHAR2,
    p_main_val1 IN test_type1,
    p_main_val2 IN test_type2
    )
    IS
    BEGIN

    FOR rec in p_main_val1.first... p_main_val1. Last
    LOOP

    INSERT INTO xxdl.test_object_tpe
    (
    sl_num,
    Description,
    main_val1,
    main_val2
    )
    VALUES
    (
    sl_num
    description
    test_type1 (test_object1)
    p_main_val1 .val1 (CRE),
    p_main_val1 .val2 (CRE),
    p_main_val1 .val3 (rec)
    )
    )
    test_type2 (test_object2 (p_main_val2 .val1 (CRE),
    p_main_val2 .val2 (CRE),
    p_main_val2 .val3 (rec)
    )
    )

    );

    END LOOP;

    commit;

    END INSERT_TEST_DATA;

    -------------------------------------------------------------------------------------------

    Here are the block anonymoys what values attributed to the object type and pass values in the procedure:

    Set serveroutput on;

    declare

    p_sl_num NUMBER: = 1001;
    p_description VARCHAR2 (50): = 'Test Val1;

    inval1 test_type1: = test_type1();
    inval2 test_type2: = test_type2();

    Start


    inval1 (1) .val1: = "testx1";
    inval1 (1) .val2: = "testx2";
    inval1 (1) .val3: = "testx3";

    inval2 (1) .val1: = "testy1";
    inval2 (1) .val2: = "testy2";
    inval2 (1) .val3: = "testy3";

    CSI_PKG. INSERT_TEST_DATA (sl_num = > p_sl_num,)
    Description = > p_description,
    p_main_val1 = > inval1,
    p_main_val2 = > inval2
    );

    end;
    /
    Someone can correct me.

    Thank you
    Lavan

    Thanks for posting the DOF and the sample code but whenever you post provide your Oracle version 4-digit (result of SELECT * FROM V$ VERSION).
    >
    How to assign values to the nested table and passes as a parameter for the procedure?
    >
    Well you do almost everything bad that could be hurt.

    Here is the code that works to insert data into your table (the procedure is not even necessary).

    declare
    p_sl_num NUMBER := 1001;
    p_description VARCHAR2(50) := 'Testing Val1';
    inval1 test_type1 := test_type1();
    inval2 test_type2 := test_type2();
    begin
    inval1.extend();
    inval1(1) := test_object1('testx1', 'testx2', 'testx3');
    inval2.extend();
    inval2(1) := test_object2('testy1', 'testy2', 'testy3');
    
    INSERT INTO test_object_tpe
    (
    sl_num,
    description,
    main_val1,
    main_val2
    )
    VALUES
    (p_sl_num, p_description, inval1, inval2);
    commit;
    end;
    /
    

    See example 5-15 making reference to an element of nested Table Chapter 5 using PL/SQL collections and records in the PL/SQL doc
    http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28370/Collections.htm#CJABEBEA

    1. you don't even have the procedure because it is a simple INSERTION in the table you can do directly (see my above code)

    inval1(1).val1 := 'testx1';
    

    Since you have not yet created all the elements, there is no element 1 "inval1". You need EXTEND the collection to add an element

    inval1.extend();
    

    And then, there is an empty element, but "inval1" is a container for objects of type 'test_object1' not for scalars as "val1", "val2", and "val3".
    If you can not do

    inval1(1).val1 := 'testx1';
    

    You must create an instance of 'test_object1 '.

    inval1(1) := test_object1('testx1', 'testx2', 'testx3');
    

    And so on for the other collection

    You don't need the procedure (as my code example shows), but once you fill in the variables correctly it will work.

  • 5102na HP OMEN: how to disable the audio correction Bang &amp; Olufsen horrible?

    Is there someone who could tell me please how to disable the audio correction Bang & Olufsen? I'm sure that some people like it but I work with audio and I can't really how it changes the sound. I tried to open the Bang & Olufsen sign but I cannot unselect the correction in the section "listening experience", nor that I can change the associated equalization. Please someone help, thanks!

    I found a solution: http://h30434.www3.hp.com/t5/Notebook-PC-Sound-and-Audio/Beats-Audio-compression-and-volume-fluctuation-HP-ENVY-m6/m-p/5137867/highlight/true#M67144

    1. Go to the Windows Device Manager > sound, video and game controllers section.
    2. In the list of the audio device drivers, look for Realtek High Definition Audio. This is the device driver for BeatsAudio (a bit sneaky, wouldn't you say?).
    3. Right-click and select disable. Down arrow on this driver, indicating it is disabled. (NOTE: at this point, you will not be able to play music files.)
    4. Right click and select Update driver software.
    5. Select Browse my computer for driver software.
    6. Select Let me pick from a list of drivers for devices on my computer.
    7. You should see a window that says Select the driver to install for this hardware device. NOTE: If you see a window that says something like This is the best driver for this device, close the window and repeat steps 4, 5 and 6.
    8. In the scheme box, select Audio device high definition (this is the device driver audio substitute) and click Next.
    9. In the Update driver warning window, click Yes. You should see a confirmation with the high definition Audio Device display window. Click on Close.
    10. In the list of drivers of audio device in the section audio, video and game controllers, you will notice that the high definition Audio device now displays instead ofHigh Definition Audio Realtek.
    11. When prompted to restart, click Yes.
    12. Now enjoy your music with no compression!

    Thanks to SteveCT99

    This does not disable audio-Bang & Olufsen, but I just installed this EQ across the system instead: http://sourceforge.net/projects/equalizerapo/

    HP needs to release a driver which allow us access to the "Improvements" tab so we can turn off "Loudness equalization" (although "Loudness equalization" should not be on by default in the first place).

    The current driver is default.

  • When I open a new tab, I would like to open in my homepage (my favorite search engine). Any suggestions how I can put in place, please?

    When I open a new tab, I would like to open in my homepage (my favorite search engine). Any suggestions how I can put in place, please?

    It looks like you want the extension new tab tribute.
    https://addons.Mozilla.org/en-us/Firefox/addon/777/

    For more information about extensions, see using extensions to add functionality to Firefox

  • How can I copy parts of the text of a pdf file in preview?

    How can I copy parts of the text of a pdf file in preview? For example, the beginning and the end part of a passage - copy not a few sentences in the Middle

    Select the first part of the text you want to copy. Press the command and option together and also select another passage of text. Now, press command + C to copy the two text selections.

    Hypothesis: The PDF did not limit content selection.

  • How can I stop auto correct for some words?

    How can I stop auto correct for some words?

    Here's a great explanation and solution:

    mamadi http://coolestguidesontheplanet.com/turn-AutoCorrect-OSX-Mac-mail-Skype-10-9-MAV.

  • How to highlight the part of the tree?

    Hello everyone!

    I have a question: how to highlight a part of the tree on a condition? (please see the attached vi and the pictures for a clearer explanation of the problem)

    I'm using LabView 2014.

    Thank you very much!

    Have patience.  You only aske the question about 40 minutes earlier.

    You highlight the lines you want by writing the values to the control.  Don't mess with the background color of cell.

    You try to highlight several items?  If so, then right-click on the control and let him choose 0 or more elements.  As soon as you select a mode with the possibility of more than one element, the values of the tree becomes an array of strings, rather than just a string.  You need build an array of strings that you will write to a local variable of the control to highlight the various elements.

  • How can I get the correct product key for my sleekbook want PC4

    How can I get the correct product key for my sleekbook desire 4 PC

    Hello

    As mentioned in your other post you can get it from Microsoft with your money:

    http://h30434.www3.HP.com/T5/notebook-operating-systems-e-g-Windows-8-and-software/i-purchase-envy-notebook-PC-4-1100se-how-can-i-get-the/m-p/2853225

    Kind regards.

  • Can anyone suggest how to reduce the size of the text

    Can anyone suggest how to reduce the size of the text here, and most of the other programs

    used? I'd be happy if someone could tell me how. I looked everywhere, but

    no luck!

    Best regards, Reltsen

    Hello

    Where exactly you want to reduce the text (browser, Explorer or on any application)?

    If you try to do it on a web browser like Internet Explorer see the link for the procedure.

    You can also check this link

    Thank you.

  • What programs can I close to speed up my laptop & how can I do it correctly?

    original title: find search indexing index reindex re-indexing research research research service troubleshooting troubleshooting

    What programs can I close to speed up my laptop & how can I do it correctly? Thank you.

    Hi WaltFossett,

    ·         What is the operating system installed on the computer?

    ·         Are you facing slow performance on the computer?

    Check if the following items to help you.

    Optimize Windows 7 for better performance

    Optimize Windows Vista for better performance

    Increase the speed of the PC: optimize your computer, help your PC run faster

    Respond with more information so we can help you best.

  • If I get a wrong number when trying to fax, how to go back to correct the number. I do ha

    When I mistyped it, how do I backup to correct the number without having to cancel the fax and start all over again?

    Hi, just checked and it doesn't seem to be a way to do this.

  • accidentally not uninstalled the network driver no internet network card. Windows Vista, suggest how to fix it?

    I accidentally uninstalled my network driver and now my computer says I don't have a network card and it does not connect to the internet. I currently use a windows vista, can anyone please suggest how to fix it?

    I accidentally uninstalled my network driver and now my computer says I don't have a network card and it does not connect to the internet. I currently use a windows vista, can anyone please suggest how to fix it?

    Hey Femi92

    I suggest that you use a friends computer to go to your computer manufacturers website and search for your model number for the network vista drivers

    Download and save to drive flash and then reinstall them using your computer

    Voila

    Walter, the time zone traveller

Maybe you are looking for

  • hard drives

    Hello I have a HP Pavilion laptop 1d08dx g6 and I had problems with the hard drive for some time. Can you please suggest me what type of hard drive I can buy this product and what are my options. Thank you Frank

  • Windows 7 print spooler crashes

    Running Windows 7 Pro with all the latest updates...  Installed a HP 1600 with the latest HP drivers and local printing works very well. Set the printer to be shared on the network. Installed the latest drivers from HP on the other 3 machines with th

  • Product # key computer won't save or activate windows.

    Upgrade to Windows 7 Ultimate installed 9.2.2015 & Computer product key # will not activate windows. Original Vista was former number to purchase. Installed 7 Ultimate now has the new number. Can I activate my windows by phone & What's the contact ph

  • HP Compaq D220 mobo POST, just beep codes...

    Well, it's really frusturating. I thought that I would have figured this out now. I turn on the motherboard, and I get 5 short beeps, a pause, then 5 more and so on... I tried Googling the model mobo (Lite-on NR138) and there is no record anywhere, I

  • Smartphones blackBerry Trackpad problem, cannot open messeges

    Hello guys last night my worcking collapsed trackpad, the problem is I resived 23messeges and some of them are verry important I need to open them, but without the trackpad, I can't go to the messege icon, is there a way I can read the text messeges